Use sqlite3 via an adb shell to query databases running on Android emulator

Connect a shell session to your running emulator instance:

adb -s emulator-9999 shell

where emulator-9999 is the name of your running emulator.

From the shell, connect to the db file that your app is using, eg:

sqlite3 /data/data/your.app.package/databases/your_db_name.db

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.