sqlite-browser

Android: SQLite database created with room shows no tables when opening with sqlte-browser

血红的双手。 提交于 2019-12-20 11:53:03
问题 I am using Room Persistence Library 1.1.0 . I could find the database file at /data/data/<package_name>/databases/ using Android Studio's Device File Explorer. It contains multiple tables and I can access contents of that tables without any problem using room-DAO s. However when opening with sqlite-browser , is shows no table. What might be the reason? Is it possible to resolve the issue without switching back to old SQLiteOpenHelper from room? 回答1: Solution To open such databases * with

Android: SQLite database created with room shows no tables when opening with sqlte-browser

拥有回忆 提交于 2019-12-20 11:52:07
问题 I am using Room Persistence Library 1.1.0 . I could find the database file at /data/data/<package_name>/databases/ using Android Studio's Device File Explorer. It contains multiple tables and I can access contents of that tables without any problem using room-DAO s. However when opening with sqlite-browser , is shows no table. What might be the reason? Is it possible to resolve the issue without switching back to old SQLiteOpenHelper from room? 回答1: Solution To open such databases * with

Android: SQLite database created with room shows no tables when opening with sqlte-browser

一曲冷凌霜 提交于 2019-12-03 01:56:16
I am using Room Persistence Library 1.1.0 . I could find the database file at /data/data/<package_name>/databases/ using Android Studio's Device File Explorer. It contains multiple tables and I can access contents of that tables without any problem using room-DAO s. However when opening with sqlite-browser , is shows no table. What might be the reason? Is it possible to resolve the issue without switching back to old SQLiteOpenHelper from room? Solution To open such databases * with sqlite-browser , you need to copy all three files . All must be in the same directory. * Databases stored in