PhoneGap Cordova安装窗口 [英] Phonegap Cordova installation windows

查看:130
本文介绍了PhoneGap Cordova安装窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

phonegap / cordova的文档是绝对可怕的。所有我想做的是安装PhoneGap 3.0在我的Windows环境,但没有成功。

The documentation for phonegap/cordova is absolutely horrible. All i'm trying to do is install PhoneGap 3.0 on my windows environment but having no success.

以下是我的步骤和失败的点。任何人都可以针对解决方案提供建议?

Below are my steps and points of failure. Can anyone advise on solutions?

根据说明


  1. 安装Node.js(SUCCESSFUL)

  2. .js:install -g cordova(SUCCESSFUL)

  3. 添加平台:cordova platform add wp8(NOTHING HAPPENS)

  4. :phonegap install wp8(找不到错误的项目目录)

  1. Install Node.js (SUCCESSFUL)
  2. From nodes.js: "install -g cordova" (SUCCESSFUL)
  3. Add Platform: "cordova platform add wp8" (NOTHING HAPPENS)
  4. Try with phonegap: "phonegap install wp8" (ERROR project directory could not be found)

Windows Phone 8平台指南


  1. 安装Windows SDK(SUCCESSFUL)

  2. 下载并提取[PhoneGap的最新副本。您将使用lib \windows-phone-8 \wp8子文件夹,lib \windows-phone-8 \wp7包含Windwos Phone 7版本的Cordova

HUH? !?!什么位置是目录?!?!所以我发现未记录的phonegap目录埋在AppData\Local ...和有一个libs目录,但肯定没有任何WP8子文件夹。在哪里安装从?

HUH?!?! What what location is the directory?!?! So I've found the undocumented phonegap directory buried in AppData\Local... and there IS a libs directory but there certainly is NOT any WP8 subfolders. Where would one install that from? Presumably the add platform command above, but add that simply returns me to a new command prompt.

尝试使用phonegap命令:phonegap plaform add wp8

Tried using the phonegap command: "phonegap plaform add wp8"

错误 - 平台添加wp8不是节点。

ERROR - 'platform add wp8" is not a node.

我得到它的开源,但这是野蛮意粉参考文档

I get its open source but this is brutal spaghetti reference documentation. If anyone has been able to successfully install 3.0 for WP8 any pointers would be help.

推荐答案

经过几个小时的挫折...这是我发现的。

After hours of frustration... here's what i discovered.


  1. 忽略安装文档和所有命令行,node.js

  2. 前往github,只需下载 PhoneGap master .zip

  3. 在这个zip文件中是window phone,etc平台的项目文件...只需使用这些模板。

  1. Ignore the installation documentation and all the command line, node.js stuff (seriously you will waste hours on this.
  2. Go to github and simply download the PhoneGap master .zip
  3. In that zip are project files for window phone, etc platform... just use those templates.

我不知道这么简单的过程如何能有更糟的文档。它好像是由律师写的。

I don't know how such an easy process could have worse documentation. It as if it was written by lawyers.

这篇关于PhoneGap Cordova安装窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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