Visual Studio 2013 update 4 cordova, how to export Android apk file to publish in PlayStore

允我心安 提交于 2019-12-02 19:44:56

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

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.) 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.) Open the res\native\android\ant.properties file, and enter information about the keystore and the alias. More detail here

3.) Build the project

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!