11

I'm trying to export database file from App Inspection Android studio but it shows error like:

Issue while exporting data Issue

while downloading database (app_db): For security reasons offline mode is disabled when the process being inspected does not correspond to the project open in studio or when the project has been generated from a prebuilt apk.

enter image description here

Mansukh Ahir
  • 3,373
  • 5
  • 40
  • 66
  • 3
    Use Device File Explore in Android studio to get your database file. data->data->your-app-package->databases – Anas Mehar Oct 09 '21 at 08:00
  • You can then use https://github.com/sqlitebrowser/sqlitebrowser to view your database – ravi Apr 07 '22 at 15:13
  • Sometimes the DB isn't a single file, its divided into 3 files as DB connection hasn't closed. Then as well we cannot download the DB file. – Sri Krishna Nov 10 '22 at 08:55

1 Answers1

4

i have oppened device file explorer, and tried again and it export successfuly.

  • This does not really answer the question. If you have a different question, you can ask it by clicking [Ask Question](https://stackoverflow.com/questions/ask). To get notified when this question gets new answers, you can [follow this question](https://meta.stackexchange.com/q/345661). Once you have enough [reputation](https://stackoverflow.com/help/whats-reputation), you can also [add a bounty](https://stackoverflow.com/help/privileges/set-bounties) to draw more attention to this question. - [From Review](/review/late-answers/34416259) – Wahlstrommm May 23 '23 at 09:35
  • Sorry about that, i meant that when i follow that path i'm able to see the database correctly. – Ricardo Antônio Jun 01 '23 at 20:04
  • Helped me. I just opened the file explorer and database export from the "app inspection" began to work. – Lingviston Aug 04 '23 at 10:07