Re-installation failed due to different application signatures

EclipseAndroid

Eclipse Problem Overview


I moved my Android project to a laptop and now I get this when I hit Debug. Sounds like this is a bug? This shouldn't happen via Eclipse as far as I know.

Re-installation failed due to different application signatures.

The weirdest thing is this happened after I upgraded sdk/adt and Eclipse to support SDK 2.2 It was working fine earlier, and now it doesn't, so it might be a bug.

Eclipse Solutions


Solution 1 - Eclipse

It happens because keystores on your laptop and original pc are different. it's called debug.keystrore and located in %USER_HOME%/.android/ folder. TO be more specific it happens because eclipse tries to push apk with reinstall key. So you have two options

  1. Share debug.keystore between various development pc's
  2. Manually uninstall your apk from device ( using adb )

Solution 2 - Eclipse

I also got the same problem and fixed it. you should do the following to fix it,

  1. Uninstall the application from your mobile if you load it already.

  2. To uninstall goto settings->application->manage application.

  3. Run the application again and choose the mobile

Hope this will help you

Solution 3 - Eclipse

After you copy debug.keystore to your PC, you need to rebuild project on PC.

Solution 4 - Eclipse

I had the same issue using the Droid emulator. I solved it by uninstalling the package from the application settings in the emulator as you would a normal device. On the next run, it reinstalled and the error went away.

Solution 5 - Eclipse

I got the same problem and fixed it by just wiping the user data on the emulator. My guess is that the emulator keeps the project installed unless you wipe the data, so if your new project doesn't match some internal parameters it doesn't like it and won't reinstall it.

Solution 6 - Eclipse

I also had the same problem and fixed it by uninstalling the app and reinstall it again.

Solution 7 - Eclipse

Solution 8 - Eclipse

After searching and checking the phone, i came to know that i am currently developing 2nd version of this application which is already downloaded from android market in my phone, now as this app is signed and having different signatures this is throwing the above error.

Now, to resolve this issue, i had just uninstalled the app from mobile and run/install the application again.

Solution 9 - Eclipse

I had the same issue with the emulator and i ran the command "adb uninstall TheNameOfPackage". Of course you must first go to the directory where the adb.exe has been installed, usually C:\Program Files\Android\android-sdk\platform-tools, and then run the above command.

Solution 10 - Eclipse

For me after I copied all of my keystore files from my machine at home, I had to do a Project->clean. After that it worked perfectly.

Solution 11 - Eclipse

When i tried to uninstall the application from my device after this issue occurs, i cannot able to find the app in my device. I don know where it gone. Then i uninstalled using adb,

adb -d uninstall <app package name>

This is the answer who are facing the issue similar to my problem.

Solution 12 - Eclipse

I had the same issue.

To fix it I uninstalled the old .apk of the project from my device.

Solution 13 - Eclipse

Go to device/emulator Settings -> Apps, find your app and uninstall it.

Or

In Android Studio open tab "Gradle" (on the right side), open:

appName
..appName
...Tasks
....install
.....uninstallAll

and click twice on this task to execute it.

Important note:

If you still get this error after uninstalling, try to Build->Clean Project.

If you still get this error, even if in your device Settings->Apps list you have no this app already, try to Build->Clean Project

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionPentium10View Question on Stackoverflow
Solution 1 - EclipseNikolay IvanovView Answer on Stackoverflow
Solution 2 - EclipseMohammedView Answer on Stackoverflow
Solution 3 - EclipseDreamerNSView Answer on Stackoverflow
Solution 4 - EclipseTomView Answer on Stackoverflow
Solution 5 - EclipseFrimView Answer on Stackoverflow
Solution 6 - EclipsetaraView Answer on Stackoverflow
Solution 7 - EclipseanonView Answer on Stackoverflow
Solution 8 - EclipseValeh AğayevView Answer on Stackoverflow
Solution 9 - EclipseChristos MitsisView Answer on Stackoverflow
Solution 10 - Eclipseuser330844View Answer on Stackoverflow
Solution 11 - EclipsefargathView Answer on Stackoverflow
Solution 12 - EclipseShruti DasgopalView Answer on Stackoverflow
Solution 13 - EclipseresearcherView Answer on Stackoverflow