File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes keyTool error: java.ioException: Invalid keystore format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "keyTool error: java.ioException: Invalid keystore format" Watch "keyTool error: java.ioException: Invalid keystore format" New topic
Author

keyTool error: java.ioException: Invalid keystore format

Anil Deshpande
Ranch Hand

Joined: Jan 13, 2008
Posts: 119
I am trying to sign the android application that I have created.

It's a simple Hello world application. I am using zaplinkey tool that comes with the android sdk. I am creating a new key not making use of existing key.

When I finally click the finish button I am getting this error.

keyTool error: java.ioException: Invalid keystore format

What is the problem. Am i missing anything. I am making use of Eclipse IDE to create the apk file.


Anil Deshpande
SCJP 1.5, SCWCD 1.5
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41124
    
  45
I am using zaplinkey tool that comes with the android sdk.

Not sure what "zaplinkey" is (my SDK has no such tool), but you'd generate the key using Java's keytool tool, as described in the developer docs: http://developer.android.com/guide/publishing/app-signing.html#releasemode


Ping & DNS - my free Android networking tools app
Monu Tripathi
Rancher

Joined: Oct 12, 2008
Posts: 1369
    
    1

Zipalign has got nothing to do with signing; how exactly are you signing your app?

Try creating a new keystore and signing your apk.


[List of FAQs] | [Android FAQ] | [Samuh Varta]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: keyTool error: java.ioException: Invalid keystore format
 
Similar Threads
SSLHandshakeException
Invalid keystore format error
Self-signed certificate in tomcat
KeyStore Algorithm & Cipher Algorithm
Keystore and Encryption