Completely uninstall and reinstall the Android application when updating?

I want to publish a new version of my application. But I want him to reinstall again.

As a first uninstall and then installation (for example, first installation). Anyway, can I do this? Or get users to uninstall the app first?

+3
source share
2 answers

If you sign a new apk with a different key, users will fail when they try to upgrade an existing installation. This is probably the easiest way to do this without changing the package name.

+1
source

, , ( ). reset .., . Android. , .

, . if (preference!= Null), , , .

, (preference!= newValueOfPreference)

, , , .

0

All Articles