Android Room database file is empty

前端 未结 5 822
一生所求
一生所求 2020-12-13 06:38

Using room in android for database. When I tried to see the data in sqlviewer then no tables found in database file Myapp.db file is empty. Data/data/packageName/databases/M

5条回答
  •  误落风尘
    2020-12-13 07:19

    Go to folder Data/data/packageName/databases/ There has to be three files .db, .db-shm, .db-wal, copy all three files to one location and then open your Myapp.db these two extra files are needed to open db file

提交回复
热议问题