Package signatures do not match the previously installed version Ask Question

Package signatures do not match the previously installed version Ask Question

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, then run react-native run-android

Got this error:

* 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!

Relevant issue: https://github.com/grigio/HAgnostic-News/issues/1, I follow various ways, but not able to resolve this issue.

ベストアンサー1

I met this problem on my project too.

これは私にとっては役立ちましたので、他の誰かの助けにもなると思います。

adb uninstall "com.domain.yourapp"

解決策はここからです。

おすすめ記事