Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find my app and the SQLite .db file in Android

I created my first Android App with SQLite and tested it on my phone. Now I installed an SQLiteManager on the phone and I would like to open the SQLitedatabse file.

The location is /data/user/0/com.<appname>/database/database.db But this folder does not exist. How can I find and access the database file? And I am also not able to find the apk of my App. In Android/data/ I can see all other installed apps, but not my own app.

How can I find yout where it is located?

like image 843
Christina Avatar asked Oct 21 '25 06:10

Christina


1 Answers

The acutal path is /data/data/package.name/database. If your app is in debug mode, most newer devices allow accessing this folder via Android Studio (or adb run-as). On the emulator this folder is public.

like image 52
Thommy Avatar answered Oct 24 '25 20:10

Thommy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!