How to solve keytool error unknown format type at

Today I was trying to get the MD5 fingerprint of my signing certificate (the one I use to sign my Android programs).

The command is pretty straight

As my keystore is password protected keytool asked for it. I pasted it and instead of get MD5 as expected I got the following error message:

The problems happened because:

  • I’m using windows 7 set to use a language that contains non ASCII characters (like ‘á’, ‘é’) -> Brazilian Portuguese
  • Password used on keystore contains some specials characters like ‘<‘, ‘`’, ‘/’.

If that’s your case go to Control Panel -> Clock, Language, Region -> change the date, time, or the number format and set format to English (United States). See picture 1.

Picture 1 – Setting Language

Repeat the command shown above and voilà:

Once you’ve generated MD5’s certificate you can rollback to the original language.

Let me know if this post helped you.

 

 

 

 

 

Please, try my games, play free on-line games on my site, tweet this post url and share it on facebook, google+ and other social medias.

This entry was posted in development and tagged , , , , , . Bookmark the permalink.
  • Jamessnj

    hey dude, this post help me a lot, I’ve tried every thing. I’ve saw in another post to change language but only here i realized what is important is change the date format. 
    Thank you very much

  • Jay

    Hey! Thanks a lot man!

  • fernando

    Thanks buddy!