包签名与之前安装的版本不匹配 [英] Package signatures do not match the previously installed version
问题描述
这是我的项目:https://github.com/kenpeter/my_hak_news,这是一个直接的https://github.com/grigio/HAgnostic-News 的副本.
This my project: https://github.com/kenpeter/my_hak_news, which is a direct copy of https://github.com/grigio/HAgnostic-News.
Git clone https://github.com/kenpeter/my_hak_news,然后运行 react-native run-android
Git clone https://github.com/kenpeter/my_hak_news, then run 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,我采用了各种方法,但无法解决此问题.
Relevant issue: https://github.com/grigio/HAgnostic-News/issues/1, I follow various ways, but not able to resolve this issue.
推荐答案
您需要卸载它,因为您使用的签名与原始签名不同.如果它不起作用,可能是因为它仍然为设备上的另一个用户安装.要完全卸载,请转到设置 -> 应用程序 -> HAgnostic 新闻 -> 选项(右上角的三个点)-> 为所有用户卸载
You need to uninstall it because you are using a different signature than the original. If it is not working it might be because it is still installed for another user on the device. To completely uninstall, go to Settings -> Apps -> HAgnostic News -> Options (the three dots on top right) -> Uninstall for all users
这篇关于包签名与之前安装的版本不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!