Skip to content
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

adb command not working with S10 (android 9) #33

Open
th3geek opened this issue Jul 30, 2019 · 5 comments
Open

adb command not working with S10 (android 9) #33

th3geek opened this issue Jul 30, 2019 · 5 comments

Comments

@th3geek
Copy link

th3geek commented Jul 30, 2019

Hi,

I'm getting the following error when trying to run the adb command (and yes I know it's all one line):
java.lang.IllegalArgumentException: Unknown permission: android.permissions.READ_LOGS
Any suggestions?

@rubysm
Copy link

rubysm commented Nov 11, 2019

same issues

@bennieboj
Copy link

bennieboj commented Nov 13, 2019

adb shell pm grant com.dp.logcatapp android.permission.READ_LOGS works like a charm on my S10 running android 9, note the permission instead of permissions

@xxKeith20xx
Copy link

adb shell pm grant com.dp.logcatapp android.permission.READ_LOGS is the answer (OnePlus 6 on Android 10 here)

@revolunet
Copy link
Contributor

running adb am force-stop com.dp.logcatapp after the permission grant fixes it for me

@kalinjul
Copy link

kalinjul commented Jan 6, 2022

running adb am force-stop com.dp.logcatapp after the permission grant fixes it for me

Note that the correct command here would be adb shell am force-stop com.dp.logcatapp ;) - This helped me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants