Error Code: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package signatures do not match]

How to Fix "INSTALL_FAILED_UPDATE_INCOMPATIBLE" in ADB

Resolve cryptographic signing certificate mismatches between Google Play, GitHub releases, and debug APKs.

Common Symptoms

  • Installation aborted with `Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]`
  • Updating a Play Store app with a GitHub release fails

Root Causes

  • The newly downloaded APK was signed with a different private keystore or certificate than the currently installed application (e.g. Google Play App Signing key vs developer self-signed key).

Proven Solutions

Solution 1: Uninstall Existing App and Perform Clean Install

  1. Because cryptographic signature enforcement cannot be bypassed without custom ROMs, you must uninstall the existing app first:
  2. Run `adb uninstall <package_name>`
  3. Then install your new APK: `adb install app-release.apk`
adb uninstall <package-name>
adb install app-release.apk

Solution 2: Keep Data While Uninstalling (-k flag)

Uninstall the APK binary while attempting to preserve the `/data/data/<pkg>` folder:

  1. Run `adb shell pm uninstall -k <package_name>`
  2. Install the new APK: `adb install app-release.apk`
adb shell pm uninstall -k <package-name>
adb install app-release.apk