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

后端 未结 10 1197
离开以前
离开以前 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 02:03

    This means that there is already a previous file and you are trying to create another one with the same name, you can change the name of the database, or on the device you are emulating uninstall the application, and emulate it again.

提交回复
热议问题