|
I'm developing an app that's currently on play store closed testing. In a new release, I introduced massive changes in the database structure. Since I'm only on closed testing, I'm okay with my testers loosing all their data, so instead of writing a huge migration, I deleted all steps/schemas, set the database version back to 1 and ran Why does the app behaves fine when installing the app through ADB but not through the store? How to fix this weird state? Thanks for your answer! |
Replies: 1 comment 1 reply
I don't have an obvious explanation for this either unfortunately. It's worth noting that you'd also get that exception if the schema version is downgraded (e.g. the closed testing version is on say version 3 and now you downgrade to 1 - This was just a regular |
I used
adb installandbundletool, none of these solutions triggered the error.I just found a solution by running
adb shell pm clear <package_name>, although quite inconvenient to run for all testers, it worked. I will avoid making such breaking changes in the future!