4

I uploaded my application to Market and then downloaded it to my phone. Now I'm unable to use debug keystore which is used by default by Eclipse ADT Plugin (Re-installation failed due to different application signatures) and when I'm trying to setup own keystore in Eclipse->Windows->Android->Build->CustomDebugKeystore, I'm unable to enter password or accept keystore and type password later.

Is there anything I can do or only way do debug app on device is to uninstall market version and deal with default debug keystore?

tomash
  • 12,372
  • 15
  • 61
  • 80

2 Answers2

3

You have to delete the market version before you can reinstall the debug version onto the device. Android keeps track of applications based on their package names so you can't have more than one installed w/ the same name at the same time. If you really wanted to keep both the market version and the version you're working on installed you'd have to change the package name of the new one, then change it back when you want to update it to the market.

Jeremy Logan
  • 45,614
  • 37
  • 119
  • 143
  • 1
    or: compile release version and install it on device with ADB – tomash Feb 21 '10 at 18:29
  • 1
    additional info - **adb install -r ** forces reinstall of existing application, which can be used as simulation of upgrading app as in Android Market – tomash Jul 21 '10 at 10:08
  • Can't believe we can't set our own keystore for debugging. I guess we'll have to export to APK first every time after publishing to market :( – HXCaine Sep 13 '10 at 21:19
0

Just realised this:

What if you made a copy of your keystore file, changed the password as in this thread to the default Android password 'android', then used that in Eclipse?

Community
  • 1
  • 1
HXCaine
  • 4,144
  • 3
  • 29
  • 36
  • It is not enough, there are passwords for keystore and specific key, also key must be named "androiddebugkey". So there is no way to do it easily in Eclipse without modyfying ADT plugin. – tomash Sep 20 '10 at 17:18