Can't downgrade database from version 2 to 1 even after fresh install and re-run

后端 未结 10 1222
离开以前
离开以前 2020-12-16 01:14

I\'m writing an android app using SQLite DB.

I had few experiments and changed the DB version from 1 to 2.

Then my DB schema became stable and because i didn

10条回答
  •  没有蜡笔的小新
    2020-12-16 01:53

    You don't show where the database is created, which is where the database version is normally assigned (i.e. SQLiteOpenHelper ctor).

    Is there any chance you have the database on external file system? Unless you follow the naming conventions, these files are not deleted when the application is removed.

提交回复
热议问题