Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asalem1/286153b98835855b90776c0a61acde9e to your computer and use it in GitHub Desktop.
Save asalem1/286153b98835855b90776c0a61acde9e 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!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment