Closed sharpordie closed 2 years ago
And what is the purpose of the native adblib library here so: https://github.com/nightmare-space/adb_tool/tree/main/android/app/src/main/java/com/nightmare/adbtools/adblib
It seems to be an implementarion of adb but in java... Are you really using the adb binary from assets in adb_tool?
what the result of results.stdout
,now i haven't see any problem with your code,have you try downgrade target version to 28?
And what is the purpose of the native adblib library here so: https://github.com/nightmare-space/adb_tool/tree/main/android/app/src/main/java/com/nightmare/adbtools/adblib
It seems to be an implementarion of adb but in java... Are you really using the adb binary from assets in adb_tool?
adblib is the java code which implement adb protcol,but it only work with otg,the other time this project allways use adb binary from assets.
have you try downgrade target version to 28?
I replaced targetSdkVersion flutter.targetSdkVersion
with targetSdkVersion 28
and everything works!
Thanks you very much!
I used the asset files from your project:
https://github.com/nightmare-space/adb_tool/tree/main/assets/android
And I used this code to extract them to the phone's memory and make them executable with chmod +x. Unfortunately I always get a permission error when I try running adb --version command.
My application name is com.example.my_app. Did I put the asset files in the right place?
Thank you in advance.