android - 包 com.harish 签名与以前安装的版本不匹配

标签 android google-play-services

应用程序包名称com.harish 签名与之前安装的版本不匹配;无视!

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

第一步:playstore 全新安装应用。

第 2 步: 生成具有 Release模式的 Apk 并保存在设备中。

第 3 步: 当点击 apk 时,它会询问 install 之后它的显示应用程序未安装并给出以下 error

com.harish 签名与之前安装的 version 不匹配;无视!

我正在使用相同的signature 签署apk。 我已经验证了 apk 证书,两者都是一样的。

像这样验证证书 How do I find out which keystore was used to sign an app?

奇怪的是,当我将 apk 上传到 Play 商店时,它已上传 成功!!!并且我能够从 playstore更新 应用程序。

那为什么会出现这个错误

最佳答案

我认为如果您安装的应用程序版本不是使用相同的 keystore /签名证书构建的,它将具有不同的签名。默认情况下,每台机器都会有不同的调试证书,除非您指定它应该如何签名。 检查google documentation为它

为了继续安装,您必须卸载现有版本,然后重试

关于android - 包 com.harish 签名与以前安装的版本不匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49127260/

相关文章:

android - 使用导航组件动态设置工具栏标题

android - 向 requestLocationUpdates intentService 发送额外信息会中断位置更新

android - 带有 GooglePlayServicesUtil.get Error Dialog() 的 Google Maps Android 应用程序

android - 如何设置与 AndroidJunitRunner 的依赖关系?

android - 从 firebase android 检索用户信息时遇到问题

android - 如何组合 updateChildren 和 runTransaction?

android - 构建 android chrome cast 视频示例时出错

android - Google Play 服务 - 清除允许的帐户

android - Google Play 服务 v7.8 附近的 API AUTH_API_ACCESS_FORBIDDEN

android - 如何在小部件android上沿对角线方向绘制一条线