软件包com.harish签名与以前安装的版本不匹配 [英] Package com.harish signatures do not match the previously installed version

查看:139
本文介绍了软件包com.harish签名与以前安装的版本不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

应用程序包名称com.harish签名与以前安装的版本不匹配;忽略!

Application package name com.harish signatures do not match the previously installed version; ignoring!

我的应用程序在1.0版的playstore中,现在我需要更新1.1版的应用程序. 当我像这样进行迁移时,它失败并给出以下错误.

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.

第1步:playstore重新安装该应用.

Step1: Freshly install the app from playstore.

第2步: 生成具有释放模式的Apk并保存在设备中.

Step 2: Generated the Apk with release mode and kept in device.

第3步: 当点击apk时,询问其install之后,其显示应用未安装并显示在error

Step 3: When tap on apk its ask install after that its show app not installed and gave below error

软件包com.harish签名与以前安装的version不匹配;忽略!

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

我正在用相同的signature签名apk. 我已经验证了apk证书,两者都是相同的.

I'm signing the apk with same signature. I have verified the apk certificates, both are same.

验证像这样的证书值得一提的是,当我将apk上传到Play商店时,其上传的是successfully!这样我就可以从playstore update应用程序了.

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

推荐答案

我认为,如果您安装的应用程序版本不是使用相同的密钥库/签名证书构建的,则它将具有不同的签名.默认情况下,每台计算机将具有不同的调试证书,除非您指定应如何签名. 查看 Google文档

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

这篇关于软件包com.harish签名与以前安装的版本不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆