android - Is possible to compare key that use installed app with key of new version this app -


i've reinstalled windows , accidentally removed key-store file i've used project. try make new one, not inserted last time(alias maybe.) have problem: when start update the.apk file following message:

an existing package same name conflicting signature installed.

my application automatically checks project updates (new version) on private server. problem people have app on phone.

my idea compare keys , if it's different ask user remove old apps in dialog or that.

is possible, if not others options ?

thanks.

you need release new app new packagename.

if no longer have keystore used sign first app, can never update again in play store.

if distributed app manually , have not released via play store, users can uninstall app signed lost key , install new one.

there no way show dialog cannot update app. can replace described above.


Comments