Skip to content

Instantly share code, notes, and snippets.

@lecho
Created March 2, 2013 19:42
Show Gist options
  • Save lecho/5072906 to your computer and use it in GitHub Desktop.
Save lecho/5072906 to your computer and use it in GitHub Desktop.
Command for exporting sqlite database for debuggable app on android device. Api 8+, no root required.
adb -d shell 'run-as com.yourpackage cat /data/data/com.yourpackage/databases/dbname > /sdcard/dbname'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment