I am working on an sq-lite database where I can find an issue in Samsung device. When I uninstall app android OS keeps database that cause conflicts in database version - previously I used version 2 and now I am using version 1 as a parameter in sqllitehelper
constructor. By convention when app is uninstalled Android OS deletes all databases, shared preference and cache files.
I used default location of database store in app folder.
This is the error I get:
Caused by: android.database.sqlite.SQLiteException: Can't downgrade database from version 2 to 1