我试图阻止
Android信标库的调试,但它不起作用.
我在我的gradle中有这个:
compile 'org.altbeacon:android-beacon-library:2.3.3'
我试过了:
public BeaconManager(Context ctx,org.altbeacon.beacon.BeaconManager beaconManager) { mContext = ctx; this.beaconManager = beaconManager; // this is saying deprecated this.beaconManager.setDebug(false); // I also tried this and the same thing org.altbeacon.beacon.logging.LogManager.setVerboseLoggingEnabled(false);
但无论如何,我一直在获取这些日志.他们开始调试其他事情.
02-18 16:21:29.784 31809-31818/com.myapp D/ScanRecord: first manudata for manu ID 02-18 16:21:29.784 31809-31818/com.myapp D/BluetoothLeScanner: onScanResult() - ScanResult{mDevice=45:0A:1B:49:64:7F,mScanRecord=ScanRecord [mAdvertiseFlags=6,mServiceUuids=[f41ef1ee-fde5-23be-5f4b-589c71babfdd],mManufacturerSpecificData={76=[2,21,97,104,113,9,-112,95,68,54,-111,-8,-26,2,-11,20,-55,109,3,17,-71,-89]},mServiceData={},mTxPowerLevel=-2147483648,mDeviceName=BC Beacon�],mRSSi=-106,mTimestampNanos=284946077119796}
任何线索?