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

后端 未结 10 1203
离开以前
离开以前 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:44

    download the sqlite db file from Android DeviceFileExplorer

    [data/data/your package name/databases]

    open the file using (DB Browser for SQLite)

    goto Edit Pragmas tab and downgrade the db version from User version

    finally save the file and upload it to DeviceFileExplorer

提交回复
热议问题