Android database corrupt, but can open in SQLite Manager. Recoverable?

后端 未结 3 1287
北海茫月
北海茫月 2021-02-13 11:02

In the latest two weeks, without releasing an update to my app, I have started getting a bunch of reports with corrupted databases. Below is the stacktrace. Android cannot open

3条回答
  •  迷失自我
    2021-02-13 11:48

    Android deleting the database is an issue indeed.

    I just realized a solution could be to use SQLJet instead of the default Android SQLite implementation.
    As its name does not suggest, SQLJet is an open source Java SQLite client, and it works on Android.

提交回复
热议问题