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 10278 nor current process has android.permission.BLUETOOTH_ADMIN. [Android 10, SDK 29] #37

Closed Imminent-Darkness closed 3 years ago

Imminent-Darkness commented 3 years ago

@maxieds:

Crash data summary:

Stack trace:


Detailed Stack Trace:
java.lang.SecurityException: Need BLUETOOTH ADMIN permission: Neither user 10278 nor current process has android.permission.BLUETOOTH_ADMIN.
    at android.os.Parcel.
     createException( Parcel.java:2071 )
    at android.os.Parcel.
     readException( Parcel.java:2039 )
    at android.os.Parcel.
     readException( Parcel.java:1987 )
    at android.bluetooth.IBluetooth$Stub$Proxy.
     cancelDiscovery( IBluetooth.java:2289 )
    at android.bluetooth.BluetoothAdapter.
     cancelDiscovery( BluetoothAdapter.java:1709 )
    at com.maxieds.chameleonminilivedebugger.e.
     r( BluetoothGattConnector.java:2 )
    at com.maxieds.chameleonminilivedebugger.f.
     s( BluetoothSerialInterface.java:1 )
    at com.maxieds.chameleonminilivedebugger.n.
     d( ChameleonSettings.java:2 )
    at com.maxieds.chameleonminilivedebugger.c0$a.
     onClick( UITabUtils.java:3 )
    at android.view.View.
     performClick( View.java:7201 )
    at android.view.View.
     performClickInternal( View.java:7170 )
    at android.view.View.access$3500( View.java:806 )
    at android.view.View$PerformClick.
     run( View.java:27562 )
    at android.os.Handler.
     handleCallback( Handler.java:883 )
    at android.os.Handler.
     dispatchMessage( Handler.java:100 )
    at android.os.Looper.
     loop( Looper.java:214 )
    at android.app.ActivityThread.
     main( ActivityThread.java:7682 )
    at java.lang.reflect.Method.invoke( Native Method )
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.
     run( RuntimeInit.java:516 )
    at com.android.internal.os.ZygoteInit.
     main( ZygoteInit.java:950 )

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.

The first error got thrown when I tried to allow bluetooth connections from the app. Then I tried to connect my Chameleon Mini Rev G with a cable and the same error got thrown. I see someone else had a similar issue.

maxieds commented 3 years ago

@Imminent-Darkness This is the second time this issue has been brought to my attention. I will work to fix it for the next release.

Does (or did it previously) BT connectivity work for you in the app? I was still under the impression that the Proxgrind RevG devices were not working over BT. I have only actually seen them to work over the serial USB connections any way.

maxieds commented 3 years ago

@Imminent-Darkness This issue should be fixed with the latest v1.3.6 release of the software. Please upgrade and write back if you still have the issue. Thanks. -- MDS