Visual Studio 2013 Update 4 Cordova,如何导出Android APK文件以在PlayStore中发布 [英] Visual Studio 2013 update 4 cordova, how to export Android apk file to publish in PlayStore

查看:85
本文介绍了Visual Studio 2013 Update 4 Cordova,如何导出Android APK文件以在PlayStore中发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,我使用Eclipse ADT开发本机android应用程序,现在我尝试使用新的Visual Studio cordova插件(

Usually i develop the native android apps in eclipse ADT, and now i trying the new Visual Studio cordova plugin (update 4), but i didnt find the way to export and sign the APK file - like in eclipse (Export Android Applicatoin), maybe somebody can write here the step by step proccess to export and sign the apk file using Visual Studio 2013.

谢谢你,迪玛.

推荐答案

您需要执行以下操作来创建apk,对其进行签名并将其发布到Google Play或任何其他Android商店.

You need to do following to create, sign and publish the apk to Google Play or any other Android store.

1.)创建apk,在构建项目时创建apk.在发行版配置中构建软件包(推荐),或者您也可以构建apk的调试版本.当目标是仿真器或设备时,将构建apk. apk位置是bin \ Android \ Release或bin \ Android \ Debug

1.) Create the apk, apk is created when project is build. Build the package in Release configuration (recommended) or you can also build debug version of apk. apk is built when target is either emulator or device. apk location is bin\Android\Release or bin\Android\Debug

2.)创建密钥库并签名apk-

2.) Create keystore and Sign the apk --

  • a.) You can use signtool to create Keystore, run the command on cmd (command prompt) like keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000 More detail on this can be found here

b.)打开res \ native \ android \ ant.properties文件,然后输入有关密钥库和别名的信息.详细信息此处

b.) Open the res\native\android\ant.properties file, and enter information about the keystore and the alias. More detail here

3.)构建项目

4.)将apk发布到Android商店.在此处找到更多有关将应用发布到Google Play的信息.

4.) Publish the apk to Android store. More detail on publishing app to Google Play can be found here.

这篇关于Visual Studio 2013 Update 4 Cordova,如何导出Android APK文件以在PlayStore中发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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