Visual Studio 2015 中cordova 应用程序的发布apk 文件在哪里 [英] Where is the release apk file for cordova apps in Visual Studio 2015

查看:29
本文介绍了Visual Studio 2015 中cordova 应用程序的发布apk 文件在哪里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 keytool 命令行创建了一个证书文件.然后我通过添加我在证书文件中设置的信息更新了 ant.properties 文件(在 res -> native -> android 下).

此外,我已将证书文件复制到 ant.properties 的同一文件夹中.

我按照 MSDN 中提到的步骤操作:

4) 右键单击​​您的项目并构建cordova 应用程序.

5) 在 (ProjectFolder/bin/Android) 中查看 Release 文件夹.

6) 你会找到你的发行版 apk 文件.

I have created a certificate file using keytool command line. then i have updated ant.properties file ( under res -> native -> android) by adding the information i have set in the certificate file.

also, i have copied the certificate file in the same folder of ant.properties.

I followed the steps as mentioned in MSDN here:

https://msdn.microsoft.com/en-us/library/Dn757048.aspx

When i build in release mode in Visual Studio 2015, i don't see a release apk generated in the solution folder or inside the bin.

any help is appreciate it.

解决方案

To generate the release apk file in Visual studio, follow these steps:

1) Select Release build option.

2) Select Android from the solution platform options.

3) Select Device "This is a must step".

4) Right click on your project and Build the cordova app.

5) Check out Release folder in (ProjectFolder/bin/Android).

6) you will find your release apk file.

这篇关于Visual Studio 2015 中cordova 应用程序的发布apk 文件在哪里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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