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
Update: Go to app info and > Storage and clear data should worke as well.
One possible reason it worked first time but not second time could be that the database wasn't called in the first run?
Also from Marshmallow, Android app data is automatically backed up. for apps targeting 23+ so your app could have gotten the previous database from the cloud without you knowing.
Unfortunately, you can't yet delete app data individually. But if you don't mind killing your backed up data for all apps, you can uninstall the app then go to https://myaccount.google.com/dashboard and expand the Android section and delete backed up app data.
After that, you should be able to re-install the app and get a fresh new database.
This worked for me, but do so at your own risk.