Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
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
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]
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: keyTool error: java.ioException: Invalid keystore format