科尔多瓦3.4.0安装错误 [英] cordova 3.4.0 installation error

查看:122
本文介绍了科尔多瓦3.4.0安装错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建科尔多瓦我得到follwing错误项目

I am trying to create project in cordova i am getting follwing error

        C:\xampp\htdocs\tagcordova\sample>cordova -d platform add android'
   Platform "android'" not recognized as a core cordova platform. See "platform lis
    t".

   C:\xampp\htdocs\tagcordova\sample>cordova -d platform add android
  cordova library for "android" already exists. No need to download. Continuing.
  Checking if platform "android" passes minimum requirements...
  Creating android project...
  Running command: cmd args=["/c","C:\\Users\\Bhanuprakash\\.cordova\\lib\\android
  \\cordova\\3.4.0\\bin\\create","--cli","C:\\xampp\\htdocs\\tagcordova\\sample\\p
  latforms\\android","com.tag.sample","Sample"]
  Command finished with error code ENOENT: cmd /c,C:\Users\Bhanuprakash\.cordova\l
 ib\android\cordova\3.4.0\bin\create,--cli,C:\xampp\htdocs\tagcordova\sample\plat
 forms\android,com.tag.sample,Sample
 Error: cmd: Command failed with exit code ENOENT
at ChildProcess.whenDone (C:\Users\Bhanuprakash\AppData\Roaming\npm\node_mod
ules\cordova\src\superspawn.js:112:23)
at ChildProcess.EventEmitter.emit (events.js:95:17)
at Process.ChildProcess._handle.onexit (child_process.js:795:12)

我follwed下面的文章 HTTP://cordova.apache。组织/文档/ EN / 3.0.0 / guide_cli_index.md.html
请告诉我怎么解决这个问题。

i follwed following article http://cordova.apache.org/docs/en/3.0.0/guide_cli_index.md.html please tell me how to solve the problem.

推荐答案

如果你是肯定你的路径尝试键入机器人在cmd中,如果它说:XCOPY无法识别

If you are sure of yours paths try to type android in cmd, if it says: 'xcopy' was not recognized.

然后添加到您的路径:

%SystemRoot%\system32; %SystemRoot%; %SystemRoot%\System32\Wbem;

这篇关于科尔多瓦3.4.0安装错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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