I am using the latest version of Android Studio. When I run my app on the emulator, I am able to view my database by going through:
tools -> Android Device Monitor -> clicking on the emulator in the left panel -> file explorer -> data -> data -> com.project-name
But this option isn't available when running my app on a device.
I have checked related questions:
- Android - viewing SQLite databases on device? The most voted answer here suggests copying the database to SDcard, and it's even for eclipse.
- Access sqlite database on android device
and these questions are from 2011 and 2010. Are there any plugins I can use or other external tools?
Aucun commentaire:
Enregistrer un commentaire