INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES when install app for the first time

I am trying to build and sign an app manually, but I keep getting INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES when installing to the emulator, before I even succeeded installing once.

Just in case, I have attempted to uninstall the app (yes, I gave the right Java package name), but it didn't solve the problem.

I have also tried restarting the emulator and marking the "Wipe User Data" checkbox.

The package name includes our company name, so it could not clash with internal packages.

I haven't found in the internet any other explanation to the error except for "you have another version of the same app already installed", so I'm kind of stuck here.

Thanks!


I ran into this issue, too, and the reason was I had the same application already installed, but signed with different key (DEBUG key vs. release key). Removing the old installation manually and reinstalling solved this.


This worked for me:

  • go to settings
  • then select apps
  • select the downloaded onces
  • select the app and Uninstall for all users.

Then everything worked like a charm.