Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Re-installation failed due to different application signatures

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.

like image 903
Pentium10 Avatar asked May 22 '10 08:05

Pentium10


3 Answers

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 )
like image 182
Nikolay Ivanov Avatar answered Oct 31 '22 23:10

Nikolay Ivanov


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

like image 27
Mohammed Avatar answered Nov 01 '22 00:11

Mohammed


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

like image 5
DreamerNS Avatar answered Oct 31 '22 23:10

DreamerNS