问题
Application package name com.harish
signatures do not match the previously installed version; ignoring!
My app was there in playstore
with version 1.0, now I need to update the app with version 1.1.
When I did migration like this, its failing and giving below error.
Step1:
Freshly install the app from playstore
.
Step 2:
Generated the Apk
with release mode and kept in device.
Step 3:
When tap on apk
its ask install
after that its show app not installed and gave below error
Package com.harish
signatures do not match the previously installed version
; ignoring!
I'm signing the apk
with same signature
.
I have verified the apk
certificates, both are same.
Verifying the certs like this How do I find out which keystore was used to sign an app?
Straging thing was when I'm upload the apk
into play store, its uploaded successfully
!!! and I'm able to update
the app from playstore
.
Then why i'm getting this error
回答1:
I think If the version of the app that you have installed was not built with the same keystore/signing certificate it will have a different signature. By default, each machine will have a different debug certificate unless you specify how it should be signed. check google documentation for it
In order to proceed with the installation, you must uninstall the existing version and then try again
回答2:
Thank you Selvin , someone enable google play app signing in my google playstore account , because of that its failing local migration
来源:https://stackoverflow.com/questions/49127260/package-com-harish-signatures-do-not-match-the-previously-installed-version