如何为 Windows8 Phone 安装 PhoneGap



我已经安装了VisualStudio2012 + Windows8 Phone sdk。如何为我的 windows8 应用程序安装 PhoneGap,以便这些应用程序也可以用于 android 和 iPhone。我从PhoneGap网站尝试过,但它不会被安装。我在这里犯了一些错误。Visual Studio是项目目录位于

C:\Users\Work-PC\Documents\Visual Studio 2012\Projects

我安装了 NodeJS

C:\程序文件

你当然想从这里开始: http://cordova.apache.org/docs/en/3.1.0/guide_platforms_wp8_index.md.html#Windows%20Phone%208%20Platform%20GuideCordova是PhoneGap开源项目的新名称。本指南将引导您开始安装Visual Studio的Cordova模板和一个简单的hello world。如果要使用命令行工具,可以在此处找到说明:http://cordova.apache.org/docs/en/3.1.0/guide_cli_index.md.html#The%20Command-line%20Interface对于Windows Phone 8的CLI使用,您只需要WP8 SDK(带有VS2012)和您似乎已经安装的节点。您还必须将 msbuild.exe 的路径添加到 PATH 环境变量中。好编码!

最新更新