AndroidDebugKey Keystore was tampered with, or password was incorrect

basheps picture basheps · Apr 24, 2011 · Viewed 20.2k times · Source

Whenever I enter in the terminal:

keytool -list -alias androiddebugkey -keystore ~/.android/debug.keystore -storepass android -keypass android

It asks me for a password. I've never set a password before. I've read somewhere else to put in "android" but I still receive the following error:

keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect

Also I am new to the Mac environment. Whenever I type in the password the cursor does not move. I'm not sure if this is default Mac behavior for concealing passwords or if the password is just not registering so that's why I get the error. Any help is appreciated.

Answer

Vicente Plata picture Vicente Plata · Apr 24, 2011

This command works for me:

keytool -list -keystore ~/.android/debug.keystore

And the password is android. It will list your aliases and you can copy and paste as you please. I guess you're using it for debugging the maps.