PhoneGap的非调试模式,并签订许可证密钥 [英] Phonegap non debug mode and signing with license key

查看:207
本文介绍了PhoneGap的非调试模式,并签订许可证密钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了在PhoneGap的一个应用程序,并想发布此对谷歌的应用程序商店。我每次下载在调试模式下的apk文件的。我该如何去用钥匙或密钥库签署它得到这个上传到谷歌发挥作为谷歌不会把它上传到我在调试模式下的帐户。

I've completed a app in phonegap and would like to publish this on the google app store. Every time I download the apk file its in debug mode. How do I go about signing it with a key or keystore to get this to upload into google play as google will not upload it into my account in debug mode.

我做错了什么,但看不出你如何能在build.phonegap.com签署应用程序?

I'm doing something wrong but can not see how in build.phonegap.com you can sign the app?

请帮忙

感谢

推荐答案

从终端使用此命令或命令提示符生成密钥存储文件:

Use this command from the terminal or command prompt to generate keystore file:

keytool -genkey -v -keystore myAppKey.keystore -alias myAppKey -keyalg RSA -validity 10000

这将产生 myAppKey.keystore 文件。

您已经在 build.phonegap.com 站点下您的应用程序设置上传。 在那里,你将获得签名设置所以添加密钥库键,然后选择签名密钥对您的应用程序。

That you have to upload at build.phonegap.com site under your application settings. There you will get signing settings so add your keystore and then select that signing key for your application.

通过这种PhoneGap的将再生的Andr​​oid构建,你会得到APK将被用在谷歌发挥市场发布。

By this phonegap will regenerate android builds and you will get APK which will be used to publish in the google play market.

参考文献:

谷歌如何建议创建一个Android密钥库

这篇关于PhoneGap的非调试模式,并签订许可证密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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