Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

keyTool error: java.ioException: Invalid keystore format

 
Anil Deshpande
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Zipalign has got nothing to do with signing; how exactly are you signing your app?

Try creating a new keystore and signing your apk.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic