Extract Sqlite Database using Chrome DevTools (Stetho)

1.7k Views Asked by At

I am using Stetho as debug bridge for my Android apps. Through this I can "inspect" and open Chrome DevTools attached to my app. I can access my app's local database under Resources->Web SQL->"MyApplication.db". I was wondering:

Is there a way, using DevTools, to extract "MyApplication.db" or "Save As..." another file so I can open it in other database browsers (e.g. SQLiteDatabaseBrowserPortable)?

1

There are 1 best solutions below

2
On

Yes, you can extract your Database file from Android Studio.

Steps:

  1. Go to Device file Explorer -> select data folder
  2. Inside data select data folder again.
  3. choose your package name.
  4. select database folder from inside and right click on your database file click save as.

    enter image description here