Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

keyTool error: java.ioException: Invalid keystore format

 
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Rancher
Posts: 43024
76
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 1369
1
Android Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic