keytool 错误 java.io.IOException: incorrect AVA format

用keytool生成sha1的,一定要有一个keystore

当然系统默认有一个c:\users\administrator\debug.keystore,密码android这样可以生成一个debug sha1

 

如果要发布就得自已生成了

 

next ==>create new ...

输入所有信息,如果在任何信息中有“,”逗号,那么就会报错:

keytool 错误 java.io.IOException: incorrect AVA format

 

解决:去掉“,”逗号就可以了。

 

posted @ 2016-06-21 13:21  jiduoduo  阅读(635)  评论(0编辑  收藏  举报