错误签署的PhoneGap构建Android应用 [英] Error signing android app on phonegap build

查看:171
本文介绍了错误签署的PhoneGap构建Android应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图登录的PhoneGap构建一个Android应用程序。

I am trying to sign an android app in phonegap build.

我用下面的命令,它成功地gennerating一个密钥存储文件,但是当我上传到PhoneGap的构建,我得到以下的错误

I'm using the following command which succeeds in gennerating a keystore file but when I upload to phonegap build I get the following error:

错误 - 无效的密钥库格式

Error - Invalid keystore format

这是我在Windows上使用命令:

This is the command I am using on Windows:

C:\\ Program Files文件(x86)的\\的Java \\ jre7 \\ BIN \\密钥工具-genkeypair -alias
  my_alias_name -keystore my_keystore_name.keystore -keypass ******
  -storepass ****** -validity 10000 -keyalg RSA -keysize 2048 -storetype PKCS12 -v

"C:\Program Files (x86)\Java\jre7\bin\keytool" -genkeypair -alias my_alias_name -keystore my_keystore_name.keystore -keypass ****** -storepass ****** -validity 10000 -keyalg RSA -keysize 2048 -storetype pkcs12 -v

任何人都可以点我在正确的方向在何处我错了?

Can anyone point me in the right direction as to where I am going wrong?

感谢

推荐答案

原来这是-storetype PKCS12标志。当我删除了这一点,并使用默认设置,它的工作完美。

Turns out it was the -storetype pkcs12 flag. When I removed this and used the defaults it worked perfectly.

感谢您的帮助。

这篇关于错误签署的PhoneGap构建Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆