View contents of database created with Room Persistence Library

SpiralDev picture SpiralDev · Jun 8, 2017 · Viewed 48.9k times · Source

Is there any easier way to see the contents of database created with Room Persistence Library in Android Studio?

Answer

kreker picture kreker · Jun 5, 2018

In older Android Studio versions:

Emulator -> Android Studio -> Device File Explorer -> /data/data/{$packageId}/databases/ -> Save As -> https://sqlitebrowser.org/

In later Android Studio versions (3.5+):

View -> Tool Windows -> Device File Explorer -> /data/data/{$packageId}/databases/ -> Save As -> https://sqlitebrowser.org/