小编典典

软件包签名与以前安装的版本不匹配

reactjs

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

Git克隆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,我遵循各种方法,但是无法解决此问题。


阅读 390

收藏
2020-07-22

共1个答案

小编典典

您需要卸载它,因为您使用的签名与原始签名不同。如果它不起作用,可能是因为仍为设备上的另一个用户安装了它。要完全卸载,请转到“设置”->“应用程序”->“
HAgnostic新闻”->“选项”(右上角的三个点)->“为所有用户卸载”

2020-07-22