Tuesday, October 30, 2012

[android-developers] Invalid keystore format

Dear Android Developers,

I was given a keystore file along with an username and password and I need to sign the updated application. However, I am getting "keytool error: java.io.IOException: Invalid keystore format" when trying to list the contents of the file, trying to create a new key in the keystore, etc.

I have looked at the similar posts in Stackoverflow, but none of them helped me.

Here's the detailed error I am getting:


C:\key>keytool -list -v -keystore key.store

keytool error: java.io.IOException: Invalid keystore format

java.io.IOException: Invalid keystore format

        at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)

        at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)

        at java.security.KeyStore.load(KeyStore.java:1185)

        at sun.security.tools.KeyTool.doCommands(KeyTool.java:620)

        at sun.security.tools.KeyTool.run(KeyTool.java:172)

        at sun.security.tools.KeyTool.main(KeyTool.java:166)



I am looking forward to hearing a solution. Thanks in advance

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment