我有一个项目的 google map apikey 现在我想要另一个项目的 apikey 并且这个项目的密钥库在不同的地方。我的第一个命令:
"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
它正在工作,但是对于我的新项目,我使用了这个命令并且我出错了。
"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
错误;
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
我做违法的事?还是我错了?有没有其他方法可以获得另一个md5指纹?