maxieds / ChameleonMiniLiveDebugger

Live logger and GUI tool for the Chameleon Mini developed for Android OS in Java.
GNU General Public License v3.0
93 stars 16 forks source link

Crash Report (CMLD 1.3.4-free): Neither user 10357 nor current process has android.permission.BLUETOOTH_ADMIN. [Android 11, SDK 30] #47

Closed LordFisk closed 2 years ago

LordFisk commented 3 years ago

@maxieds:

Crash data summary:

Stack trace:


Detailed Stack Trace:
java.lang.SecurityException: Need BLUETOOTH ADMIN permission: Neither user 10357 nor current process has android.permission.BLUETOOTH_ADMIN.
    at android.os.Parcel.
     createExceptionOrNull( Parcel.java:2385 )
    at android.os.Parcel.
     createException( Parcel.java:2369 )
    at android.os.Parcel.
     readException( Parcel.java:2352 )
    at android.os.Parcel.
     readException( Parcel.java:2294 )
    at android.bluetooth.IBluetooth$Stub$Proxy.
     cancelDiscovery( IBluetooth.java:3794 )
    at android.bluetooth.BluetoothAdapter.
     cancelDiscovery( BluetoothAdapter.java:2765 )
    at com.maxieds.chameleonminilivedebugger.BluetoothGattConnector.
     stopConnectingDevices( BluetoothGattConnector.java:227 )
    at com.maxieds.chameleonminilivedebugger.BluetoothSerialInterface.
     stopScanningDevices( BluetoothSerialInterface.java:204 )
    at com.maxieds.chameleonminilivedebugger.ChameleonSettings.
     stopSerialIOConnectionDiscovery( ChameleonSettings.java:77 )
    at com.maxieds.chameleonminilivedebugger.UITabUtils$5.
     onClick( UITabUtils.java:361 )
    at android.view.View.
     performClick( View.java:8178 )
    at android.widget.TextView.
     performClick( TextView.java:16104 )
    at android.widget.CompoundButton.
     performClick( CompoundButton.java:155 )
    at android.view.View.
     performClickInternal( View.java:8147 )
    at android.view.View.access$3700( View.java:888 )
    at android.view.View$PerformClick.
     run( View.java:30233 )
    at android.os.Handler.
     handleCallback( Handler.java:938 )
    at android.os.Handler.
     dispatchMessage( Handler.java:99 )
    at android.os.Looper.
     loop( Looper.java:246 )
    at android.app.ActivityThread.
     main( ActivityThread.java:8414 )
    at java.lang.reflect.Method.invoke( Native Method )
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.
     run( RuntimeInit.java:596 )
    at com.android.internal.os.ZygoteInit.
     main( ZygoteInit.java:1130 )

Additional comments: NONE -- Please fill in more details about how you generated this error, like what actions you took before this screen is displayed. Did the error happen on launch of the application? Did you click a button or switch tabs? Any extra details about how the error happened are useful to fixing the issue in future releases.