Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nickdotht/1b595335657cd884c85983e53d7fd72a to your computer and use it in GitHub Desktop.
Save nickdotht/1b595335657cd884c85983e53d7fd72a 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!
@lehuuthoct
Copy link

Thanks

@ArJunGawali
Copy link

Thanks it was a great help

@michaelklem
Copy link

Thank you!

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