-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes (NoSuchMethodException for hidden APIs) on Android 11 #10
Comments
@rostopira any idea why this is happening? ......I don't have a android 11 device currently at my place. |
I have a Pixel 2 with Android 11 and can confirm the bug. From analyzing source code the exception is thrown in Please excuse, if I'm wrong. That's just results from looking 5 minutes at the code. But I'm really interested in using the app and might also work on it. |
@AchimStuy you are right, devices must be paired within in App.
|
@AchimStuy I didnt work on this part of the code. Its a collaborative project between me and rostopira. I think this part of the code was written by rostopira . @rostopira Could you see if you can rectify this issue. I am a bit busy this month so won't be able to work on this . If I am able to next month and I get a bit free I can take a look at that part of the code. @cuongnv Are you trying to say that the paring should not happen within app? It should happen in the settings app because the sets a mode function is deprecated in Android 11? Just wanted to confirm this. @AchimStuy If you are interested in working on this app and have the google Pixel as you mentioned you are welcome to correct this issue but just check that your new changes didn't break functionality on android 9 and 10 devices. I don't have a Android 11 device yet so that is also an issue. I'll see if I can get hands-on an Android 11 device. |
So I investigated a little bit on the issue: Pairing must be done within the app, because we need the HID-Profile added to the Android device's Bluetooth class. This is done in The How can I pair devices within the app? |
Kontroller/app/src/main/java/com/github/roarappstudio/btkontroller/Unhide.kt
Line 6 in 5353b83
NoSuchMethodException
The text was updated successfully, but these errors were encountered: