Find the Sqlite bank folder in android studio [duplicate]

0

How to find the database folder in android studio? Already tried tools - > Android - > Android device Monitor, the data folder is empty.

    
asked by anonymous 06.09.2015 / 19:25

2 answers

0

In the code of your application should have the address of your db try this address ... Let me know if it worked ... ok

// The Android's default system path of your application database.
private static String DB_PATH = "/data/data/br.com.yourapp/databases/";
    
09.09.2015 / 16:32
-1

Perform the following steps:

  • In Android Studio, go to Tools > Android > Device Monitor
  • In Device Monitor, in the left corner, select the device that is running
  • Select the Device Monitor File Explorer tab. At this point the folders that are on the running device will appear
  • Select date > date > package.of.your.application > databases
  • If you want to download and view the database file, simply select the file and click the Pull a file from device option, which is an icon of a floppy disk with a pink arrow that in the top right corner, between the tabs and the file explorer

        
    06.09.2015 / 21:54