Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AndroidDebugKey Keystore was tampered with, or password was incorrect [duplicate]

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.

like image 611
basheps Avatar asked Apr 24 '11 14:04

basheps


People also ask

What is the default keystore password?

In the Enter keystore password prompt, type the current password, which by default is changeit, and press Enter. The new password is saved to cacerts.


2 Answers

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.

like image 160
Vicente Plata Avatar answered Sep 22 '22 09:09

Vicente Plata


This was also a problem for me, but it wasn't the command that was the problem, it was that I was entering my user password and not the android password which is "android" at the prompt.

like image 24
botbot Avatar answered Sep 20 '22 09:09

botbot