PhoneGap的非调试模式,并签订许可证密钥 [英] Phonegap non debug mode and signing with license key
问题描述
我已经完成了在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的将再生的Android构建,你会得到APK将被用在谷歌发挥市场发布。
By this phonegap will regenerate android builds and you will get APK which will be used to publish in the google play market.
参考文献:
这篇关于PhoneGap的非调试模式,并签订许可证密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!