1
Next, I’m creating an application for Android, where I use a local Sqlite bank, never gave any kind of problem of registration or database query, so I never had to take the bank direct in the emulator, but now I’m in need, the problem is, I can’t locate this database, it’s created, it has data, I just can’t locate it. I use Android Studio, I’ve looked in Android Device Monitor, but I can’t open the folder "data", as it is empty. The strange thing is that if I try to create a "date/date" folder it says that the file already exists. How can I recover this database?
Only through the application itself. This directory is protected and can only be accessed by the creator. You will need to "copy" that file to a public directory before being able to find it
– Diego Rafael Souza
But does Emulator not have permissions for this? If not how do I copy the database to a public folder.
– Bruno Inácio
I don’t think so. The OS is the manager, not the platform (emulator). As I said, to copy you need to code in the app itself. Ex.: When you click a certain button, copy the database file to the "Downloads folder".
– Diego Rafael Souza