2

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)?

aLL
  • 1,596
  • 3
  • 17
  • 30

1 Answers1

0

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

Dipali Shah
  • 3,742
  • 32
  • 47
  • this really works for extracting the android chrome app db but I was asking about stetho and devTools, not android studio. anyway, thank you for answering – aLL May 03 '19 at 04:25
  • @aLL, with devTools you can only check top 250 DB entries. – Dipali Shah May 03 '19 at 04:45