【发布时间】:2017-06-02 05:20:28
【问题描述】:
这是我的项目: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,我按照各种方法,都无法解决这个问题。
【问题讨论】:
-
您的手机上是否已经安装了该应用程序?如果是这样,您将需要卸载它,因为您使用的签名与原始签名不同
-
我曾经安装在我的手机上,然后我长按卸载它,然后移动到卸载。还是不行。
-
检查应用是否已为所有用户卸载。转到设置-> 应用程序-> HAgnostic 新闻-> 选项(右上角的三个点)-> 为所有用户卸载
-
这就是解决方案!
标签: android reactjs react-native