科尔多瓦应用程序的编译不会生成任何东西 [英] Compile of Cordova application don't generate anything

查看:76
本文介绍了科尔多瓦应用程序的编译不会生成任何东西的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我已经使用Cordova(接口行命令5.3.3)安装了Visual Studio 2015,

I have installed Visual Studio 2015, with Cordova (Interface row command 5.3.3),

我使用初始应用程序创建了一个空白项目,但是当我在Android的调试模式下进行编译时,它不会在文件夹BIN中写入任何内容.

I created a blank project, with the initial application, but when I compile in DEBUG mode for Android, it doesn't write anything in folder BIN.

相反,如果我是为iOS或Windows编译的,则生成软件包.

Instead, if I compile for iOs or Windows the package is generated.

我已遵循此 文件:

I have followed this  document:

https://github.com/Microsoft/cordova-docs/blob/master/articles/tutorial-package-publish/tutorial-package-publish-readme.md

https://github.com/Microsoft/cordova-docs/blob/master/articles/tutorial-package-publish/tutorial-package-publish-readme.md

但是在BIN文件夹中什么也没有生成.

but however nothing is generated in BIN folder.

谢谢

推荐答案

乔瓦尼,你好

要在Visual Studio中生成调试/发布apk文件,请按照下列步骤操作:

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

1)选择调试/发布版本"选项.

1) Select Debug/Release build option.

2)从解决方案平台选项中选择Android.

2) Select Android from the solution platform options.

3)选择设备这是必须执行的步骤".

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

4)右键单击您的项目,然后构建cordova应用.

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

5)在(ProjectFolder/bin/Android)中检出Debug/Release文件夹.

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

6)您会找到发布的apk文件.

6) you will find your release apk file.

同样适用于iOS构建应用.

Same applies for iOS builds apps.

希望这会有所帮助.

Hope this helps.


这篇关于科尔多瓦应用程序的编译不会生成任何东西的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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