jeudi 31 décembre 2015

How to resolve "Can't downgrade database from version 2 to 1" in ActiveAndroid?

I used ActiveAndroid ORM in my application and in AndroidManifest.xml we just need do define meta-data tag for database version like

<meta-data android:name="AA_DB_VERSION" android:value="2" />

but when i uninstall build and change Db version to 1 instead of 2 then After reinstalling it throws an error like Can't downgrade database from version 2 to 1

I don't know why it would happen because i completely uninstall application from my phone then also AA won't allow me to downgrade database version.

May be it's internally handle by AA but still is there any solution ?Please help.

Aucun commentaire:

Enregistrer un commentaire