我试图阻止
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}
任何线索?
解决方法
原文地址:https://www.jb51.cc/android/314310.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。