Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • 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!
@bhagwandas
Copy link

Thanks, this fixed my issue. I had uninstalled app through device. Cleaning cache also did not help.

adb uninstall command worked. Thanks

@m4v0
Copy link

m4v0 commented Dec 18, 2018

Thanks for the tip!! I applied here the "adb uninstall com.myapp" and it worked perfectly ...

@ivansaid
Copy link

Unistall your app and install it again.

@dzek69
Copy link

dzek69 commented May 7, 2019

Thanks 👍

Uninstalling app manually from phone didn't help. I wasn't able to manually install debug.apk nor via adb. Uninstalling with adb first fixed the issue.

@asalem1
Copy link

asalem1 commented May 15, 2019

This just saved me. Thank you!

@ghalemhaitam
Copy link

Thank you, command worked on 0.60.

@kelechithefuture
Copy link

Awesome. Worked for me!!

@rmuliterno
Copy link

This worked for me aswell! Thanks!

@Ruttmann
Copy link

Oh boy, you saved my life! 😄

@mdaniyalaslam
Copy link

Thanks dear, it works 🥇

@Vienkk1010
Copy link

Vienkk1010 commented Aug 27, 2019

Unistall your app and install it again.

Thank.This is great

@abdurrahmanekr
Copy link

Thanks dude, you saved my weeks!

@Khalidalansi
Copy link

Khalidalansi commented Sep 17, 2019

for me not working then i found app in "Secure Folder" , then uninstall and working
Thank you

@frostless
Copy link

thanks

@pedroSoaresll
Copy link

thanks

@littledivy
Copy link

Thanks! Should be somewhere in the React Native docs.

@DevAbas
Copy link

DevAbas commented Jul 25, 2020

thanks

@MuhdSaifulnizam15
Copy link

Thanks, dude. Wasted three days because of this.

@The-Judge
Copy link

Thank you very much!

@vladossuper
Copy link

Thanks!

@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