android– 包签名与以前安装的版本不匹配

android– 包签名与以前安装的版本不匹配,第1张

概述这是我的项目:https://github.com/kenpeter/my_hak_news,这是https://github.com/grigio/HAgnostic-News的直接副本.Gitclonehttps://github.com/kenpeter/my_hak_news,然后运行react-nativerun-android得到此错误:*Whatwentwrong:Executionfailedfortask':app:instal

这是我的项目:https://github.com/kenpeter/my_hak_news,这是https://github.com/grigio/HAgnostic-News的直接副本.

Git clone https://github.com/kenpeter/my_hak_news,然后运行react-native run-androID

得到此错误:

* What went wrong:Execution Failed for task ':app:installDeBUG'.> com.androID.builder.testing.API.DeviceException: com.androID.ddmlib.InstallException: Failed to finalize session : INSTALL_Failed_UPDATE_INCOMPATIBLE: Package com.hagnosticnews signatures do not match the prevIoUsly installed version; ignoring!

相关问题:https://github.com/grigio/HAgnostic-News/issues/1,我遵循各种方式,但无法解决此问题.

解决方法:

您需要卸载它,因为您使用的签名与原始签名不同.如果它不起作用,可能是因为它仍然为设备上的其他用户安装.要完全卸载,请转到设置 – >应用 – >诊断新闻 – >选项(右上角的三个点) – >为所有用户卸载

总结

以上是内存溢出为你收集整理的android – 包签名与以前安装的版本不匹配全部内容,希望文章能够帮你解决android – 包签名与以前安装的版本不匹配所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1100631.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存