Cordova Windows版 [英] Cordova build For Windows
问题描述
我已经能够为Android成功构建,现在我想为Windows构建应用.
I am successfully able to build for android, now I want to build apps for windows.
为Windows设置构建环境的过程是什么?
What is the process of setting up the build environment for windows?
我不想使用Visual Studio,可以单独安装Windows SDK并通过命令行使用它吗?
I do not want to work with Visual Studio, can I install windows SDK as a stand alone and work with it using the command line?
如果我在这里查看文档,则不会详细介绍 https://github.com/apache/cordova-windows
If I take a look at the Docs here it does not go into any detail https://github.com/apache/cordova-windows
这里也提到了相同的内容 https://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html
The same is mentioned here as well https://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html
如果我无法逃避使用Visual Studio的麻烦,那么还请提及安装Cordova开发工具的正确方法
If I have no way of escaping the use of Visual Studio, then kindly also mention the correct way to install the tools for Cordova Development
-谢谢
推荐答案
Visual Studio的问题是什么? Visual Studio社区是免费的,并且Microsoft的TACO(Apache COrdova的工具)非常出色.最终,您可以使用Cordova CLI创建和管理项目,但是您将需要Microsoft提供的工具来编译生成的应用程序.
What is your issue with Visual Studio? Visual Studio community is free and Microsoft's TACO (Tools for Apache COrdova) is amazing. Ultimately, you can use the Cordova CLI to create and manage a project, but you'll need tools from Microsoft to compile the resulting app.
我不知道您可以在没有Visual Studio的情况下安装Windows SDK,但我还没有尝试过.显然,您可以: https://developer.microsoft.com/zh-cn/windows/downloads/windows-10-sdk .
I'm not aware that you can install the Windows SDK without Visual Studio, I've not tried it. Apparently you can though: https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk.
仅在您需要针对Cordova设置和使用Windows开发环境的完整说明时,您可以在Apache Cordova 4 Programming(www.cordova4programming.com)的第11章中找到它们.
Just in case you want complete instructions for setting up and using a Windows development environment for Cordova, you can find them in chapter 11 of Apache Cordova 4 Programming (www.cordova4programming.com).
这篇关于Cordova Windows版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!