Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES when install app for the first time

Tags:

android

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!

like image 917
Ramon Snir Avatar asked Aug 23 '11 06:08

Ramon Snir


2 Answers

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.

like image 55
Zds Avatar answered Sep 20 '22 20:09

Zds


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.

like image 25
Jyoti Prakash Avatar answered Sep 19 '22 20:09

Jyoti Prakash