Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save nickdotht/1b595335657cd884c85983e53d7fd72a to your computer and use it in GitHub Desktop.

Select an option

Save nickdotht/1b595335657cd884c85983e53d7fd72a to your computer and use it in GitHub Desktop.

Revisions

  1. nickdotht created this gist Jul 25, 2017.
    11 changes: 11 additions & 0 deletions React native how to fix INSTALL_FAILED_UPDATE_INCOMPATIBLE
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    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!