Skip to content

Instantly share code, notes, and snippets.

@mvidaldp
Created March 4, 2022 17:12
Show Gist options
  • Save mvidaldp/aa80e341cf8f4f299a78d6a1b42492c9 to your computer and use it in GitHub Desktop.
Save mvidaldp/aa80e341cf8f4f299a78d6a1b42492c9 to your computer and use it in GitHub Desktop.
How to grant external storage permission on Android 11+ when the app is not adapted to the new scoped storage
# if you do not know your app id you can find it using: adb shell pm list packages -f`
adb shell appops set --uid your.app.id MANAGE_EXTERNAL_STORAGE allow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment