Package com.harish signatures do not match the previously installed version

限于喜欢 提交于 2020-01-05 07:35:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!