Tjekkles
Tjekkles

Reputation: 5612

Android database location on my Mac

I would like to know how I can access the copy of my sqlite database on my device.

I have an android app, and as far as I know, when you run the app it makes a copy from your database to work with (makes a file database.sql).

Now is my question how can I access the database.sql file on my mac? I want to remove it.

I have found that it's located under /data/data/APP_NAME/database/sql. But I can't seem to find the map data/data. Where is the root map for this? Where should I look?

I'm working on a macbook.

Thanks!

Upvotes: 1

Views: 426

Answers (1)

manelizzard
manelizzard

Reputation: 1058

If you don't have root access on your phone you can't explore that path. Try it with the emulator, and then use de ADB shell to access de database file.

Upvotes: 3

Related Questions