使用altbeacon库时出现IllegalStateException

时间:2016-06-22 10:43:24

标签: android bluetooth-lowenergy altbeacon

使用altbeacon库时,我在几个用户的手机上崩溃了。下面提到了相同的堆栈跟踪。我无法复制这个问题。有人可以帮我解决这个问题。我正在使用altbeacon库的2.7版本。

java.lang.IllegalStateException
BluetoothLeUtils.java line 136 in BluetoothLeUtils.checkAdapterStateOn()
BT Adapter is not turned ON

android.bluetooth.le
BluetoothLeUtils.java line 136 in BluetoothLeUtils.checkAdapterStateOn()
android.bluetooth.le
BluetoothLeScanner.java line 85 in BluetoothLeScanner$1.handleMessage()
android.os
Handler.java line 102 in Handler.dispatchMessage()
android.os
Looper.java line 168 in Looper.loop()
android.app
ActivityThread.java line 5885 in ActivityThread.main()
java.lang.reflect
Method.java line -2 in Method.invoke()
com.android.internal.os
ZygoteInit.java line 797 in ZygoteInit$MethodAndArgsCaller.run()
com.android.internal.os
ZygoteInit.java line 687 in ZygoteInit.main()

0 个答案:

没有答案