Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

Save meaudotme/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
Copy Markdown

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
Copy Markdown

m4v0 commented Dec 18, 2018

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

@ivansaid
Copy link
Copy Markdown

Unistall your app and install it again.

@dzek69
Copy link
Copy Markdown

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
Copy Markdown

asalem1 commented May 15, 2019

This just saved me. Thank you!

@ghalemhaitam
Copy link
Copy Markdown

Thank you, command worked on 0.60.

@kelechithefuture
Copy link
Copy Markdown

Awesome. Worked for me!!

@rmuliterno
Copy link
Copy Markdown

This worked for me aswell! Thanks!

@Ruttmann
Copy link
Copy Markdown

Oh boy, you saved my life! 😄

@mdaniyalaslam
Copy link
Copy Markdown

Thanks dear, it works 🥇

@Vienkk1010
Copy link
Copy Markdown

Vienkk1010 commented Aug 27, 2019

Unistall your app and install it again.

Thank.This is great

@abdurrahmanekr
Copy link
Copy Markdown

Thanks dude, you saved my weeks!

@Khalidalansi
Copy link
Copy Markdown

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
Copy Markdown

thanks

@pedroSoaresll
Copy link
Copy Markdown

thanks

@littledivy
Copy link
Copy Markdown

Thanks! Should be somewhere in the React Native docs.

@DevAbas
Copy link
Copy Markdown

DevAbas commented Jul 25, 2020

thanks

@MuhdSaifulnizam15
Copy link
Copy Markdown

Thanks, dude. Wasted three days because of this.

@The-Judge
Copy link
Copy Markdown

Thank you very much!

@vbigun
Copy link
Copy Markdown

vbigun commented Jan 12, 2021

Thanks!

@lehuuthoct
Copy link
Copy Markdown

Thanks

@ArJunGawali
Copy link
Copy Markdown

Thanks it was a great help

@michaelklem
Copy link
Copy Markdown

Thank you!

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