Android – Installation failed to finalize session… Signatures are inconsistent – Android

android

I am trying to run my project but I get this error:

Installation failed with message Failed to finalize session :
INSTALL_FAILED_INVALID_APK: /data/app/vmdl1841863905.tmp/11_app-debug
signatures are inconsistent. It is possible that this issue is
resolved by uninstalling an existing version of the apk if it is
present, and then re-installing.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

If I press yes, after some seconds it just shows the same error. I tried to manually delete the application but the application is already deleted from my phone.

Best Answer

This error usually happens to me in Android Studio when I try to open a project that was moved from another path or location, also other circumstances might cause this, what works for me is:

  • menu "Build"
  • run "Rebuild Project".

Then run app on device or emulator, and error goes away. I know the error has nothing to do with this but that's what fixes it for me, try and let me know.