Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dzek69/d4e3093bda4420793b922dd8fadb5ea8 to your computer and use it in GitHub Desktop.
Save dzek69/d4e3093bda4420793b922dd8fadb5ea8 to your computer and use it in GitHub Desktop.
When building an adnroid app, you might stumble upon this error:
`Failed to finalize session : INSTALL_FAILED_UPDATE_INCOMPATIBLE...`. Here's how to fix it:
That's because the app you're trying to test was already installed on the device and the signatures are different now, so it's complaining. The full error will look like something like this:
`Failed to finalize session : INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.example signatures do not match the previously installed version; ignoring!`
You can see that the package ID is `com.example`, well, simply run this command:
`adb uninstall com.example`, it should say `Success` and you're good to go!
@gersonmontenegroepam
Copy link

In 2023 still works! thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment