1

I had google map apikey for a project now I want apikey for another project and this projects keystore is in a different place. My first cmd:

"C:\Program Files\Java\jdk1.7.0_04\bin\keytool.exe" -v -list -alias androiddebugkey -keystore "C:\Users\salih\.android\debug.keystore" -storepass android -keypass android

it is working but my for my new project I use this command and I had eror.

"C:\Program Files\Java\jdk1.7.0_04\bin\keytool.exe" -v -list -alias androiddebugkey -keystore "C:\Users\salih\workspace\kimlimkey.keystore" -storepass android -keypass android

error;

keytool error: java.io.IOException: Keystore was tampered with, or password was
incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect
        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:772)
        at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:5
5)
        at java.security.KeyStore.load(KeyStore.java:1214)
        at sun.security.tools.KeyTool.doCommands(KeyTool.java:789)
        at sun.security.tools.KeyTool.run(KeyTool.java:340)
        at sun.security.tools.KeyTool.main(KeyTool.java:333)
Caused by: java.security.UnrecoverableKeyException: Password verification failed

        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:770)
        ... 5 more

I do something illegal? or I am mistake? is there any other way to get another md5 fingerprint?

slhgndz
  • 5
  • 1
  • 4
  • duplicate question of this http://stackoverflow.com/questions/9696288/androidgoogle-maps-api-key-signup-md5-certification-key – Rahul Baradia Oct 11 '12 at 07:31

1 Answers1

1

Might you have changed password..Default password ll be android.

How can I Change the password, so I can share it below

Using keytool:

keytool -storepasswd -keystore /path/to/keystore
Enter keystore password:  changeit
New keystore password:  new-password // put new-password -- android
Re-enter new keystore password:  new-password // put new-password -- android

then try this..

C:\Program Files\Java\jdk1.7.0_04\bin>keytool.exe -V -list -alias androiddebugkey -keystore "C:\Documents and Settings\IBM\.android\debug.keystore" -storepass android -keypass android

Consider your jdk-bin path in the first path place and your home user directory in the second path. For windows 7 it is like "C:\Users\username.android\debug.keystore"

Use the above command you will get all the keys.

sure this ll work..

Rahul Baradia
  • 11,749
  • 16
  • 74
  • 121