科尔多瓦无法添加Android的失败,退出code ENOENT科尔、多瓦、Android、code

由网友(等风也等你)分享简介:我想创建一个科尔多瓦Android项目,但是我收到一个ENOENT错误,虽然我也跟着一步教程一步非常谨慎,这让我很生气。首先,这是错误的截图:以下是有关我的软件和硬件/操作系统信息:I am trying to create an Android project with Cordova, however i am...

我想创建一个科尔多瓦Android项目,但是我收到一个ENOENT错误,虽然我也跟着一步教程一步非常谨慎,这让我很生气。 首先,这是错误的截图: 以下是有关我的软件和硬件/操作系统信息:

I am trying to create an Android project with Cordova, however i am getting an ENOENT error although i followed the tutorial step by step very carefully, this is getting me angry. First this is the screenshot of the error: Here are information about my software and hardware/os:

硬件和OS:

在英特尔(R)酷睿(TM)i5-3230M CPU @ 2.60 GHz的2.60GHz 4 GB的RAM 在64位操作系统,X 64架构的处理器 在Windows 8中

软件: 下面是一些对相关软件我的命令行的输出。

Software: Here are some of the outputs of my command line for the related software.

$ NPM -version 输出:1.4.8 $科尔多瓦-version 输出:3.4.1-0.1.0 $蚂蚁-version 输出:Apache Ant的(TM)版本1.9.3编译于二○一三年十二月二十三日 在$ Java的版本

$亚行版本 输出:安卓调试桥版本1.0.31

下面是我的一些系统变量:

ANDROID_HOME:C: ADT-束的Windows x86_64-20140321 SDK ANT_HOME:C: Apache的ANT-1.9.3 JAVA_HOME:C: Program Files文件的Java jdk1.8.0_05 在CLASSPATH:%JAVA_HOME% JRE lib目录

路径: %JAVA_HOME% BIN; C:程序巴里沙产品 11.2.0 dbhome_1 BIN; C: PROGRAM 文件(x86)英特尔 ICLS客户端; C: Program Files文件英特尔 ICLS Client;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program FILES 英特尔英特尔(R)管理引擎组件 DAL; C: PROGRAM FILES 英特尔英特尔(R)管理引擎组件 IPT; C: PROGRAM 文件(x86)英特尔英特尔(R)管理引擎 组件 DAL; C: Program Files文件(x86)的英特尔英特尔(R)管理 发动机组件 IPT; C: Program Files文件微软 Web平台 安装程序; C: Program Files文件(x86)的微软ASP.NET ASP.NET网页 网页 1.0 ; C: Program Files文件(x86)的微软SQL 服务器 100 TOOLS BINN ; C: Program Files文件微软SQL 服务器 100 TOOLS BINN ; C: Program Files文件微软SQL 服务器 100 DTS BINN ; C: Program Files文件(x86)的的Windows套件 8.0 Windows下 性能工具包; C: Program Files文件(x86)的微软SQL 服务器 80 TOOLS BINN ; C: Program Files文件微软SQL 服务器 90 TOOLS BINN ; C: Program Files文件(x86)的微软SQL 服务器 90 TOOLS BINN ; C: Program Files文件(x86)的微软SQL 服务器 90 DTS BINN ; C: Program Files文件(x86)的微软SQL 服务器 90 TOOLS BINN VSShell Common7 IDE ; C: Program Files文件 (x86)的微软的Visual Studio 8 Common7 IDE PrivateAssemblies ; C: Program Files文件(x86)的微软SQL 服务器 100 TOOLS BINN VSShell Common7 IDE ; C: Program Files文件 (x86)的微软的Visual Studio 9.0 Common7 IDE PrivateAssemblies ; C: Program Files文件(x86)的 Microsoft SQL Server的 100 DTS BINN ; C: Program Files文件微软SQL 服务器 110 DTS BINN ; C: Program Files文件(x86)的微软SQL 服务器 110 TOOLS BINN ; C: Program Files文件微软SQL 服务器 110 TOOLS BINN ; C: Program Files文件(x86)的微软SQL 服务器 110 TOOLS BINN ManagementStudio ; C: Program Files文件 (x86)的微软的Visual Studio 10.0 Common7 IDE PrivateAssemblies ; C: Program Files文件(x86)的微软SQL Server110DTSBinn;%ANT_HOME%bin;C:adt-bundle-windows-x86_64-20140321sdkplatform-tools;C:adt-bundle-windows-x86_64-20140321sdktools;C:Program 文件 nodejs ANDROID_HOME: C:adt-bundle-windows-x86_64-20140321sdk ANT_HOME: C:apache-ant-1.9.3 JAVA_HOME: C:Program FilesJavajdk1.8.0_05 CLASSPATH: %JAVA_HOME%jrelib

PATH: %JAVA_HOME%bin;C:appbarisaproduct11.2.0dbhome_1bin;C:Program Files (x86)InteliCLS Client;C:Program FilesInteliCLS Client;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program FilesIntelIntel(R) Management Engine ComponentsDAL;C:Program FilesIntelIntel(R) Management Engine ComponentsIPT;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsDAL;C:Program Files (x86)IntelIntel(R) Management Engine ComponentsIPT;C:Program FilesMicrosoftWeb Platform Installer;C:Program Files (x86)Microsoft ASP.NETASP.NET Web Pagesv1.0;c:Program Files (x86)Microsoft SQL Server100ToolsBinn;c:Program FilesMicrosoft SQL Server100ToolsBinn;c:Program FilesMicrosoft SQL Server100DTSBinn;C:Program Files (x86)Windows Kits8.0Windows Performance Toolkit;C:Program Files (x86)Microsoft SQL Server80ToolsBinn;C:Program FilesMicrosoft SQL Server90Toolsbinn;C:Program Files (x86)Microsoft SQL Server90Toolsbinn;C:Program Files (x86)Microsoft SQL Server90DTSBinn;C:Program Files (x86)Microsoft SQL Server90ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft Visual Studio 8Common7IDEPrivateAssemblies;C:Program Files (x86)Microsoft SQL Server100ToolsBinnVSShellCommon7IDE;C:Program Files (x86)Microsoft Visual Studio 9.0Common7IDEPrivateAssemblies;C:Program Files (x86)Microsoft SQL Server100DTSBinn;C:Program FilesMicrosoft SQL Server110DTSBinn;C:Program Files (x86)Microsoft SQL Server110ToolsBinn;C:Program FilesMicrosoft SQL Server110ToolsBinn;C:Program Files (x86)Microsoft SQL Server110ToolsBinnManagementStudio;C:Program Files (x86)Microsoft Visual Studio 10.0Common7IDEPrivateAssemblies;C:Program Files (x86)Microsoft SQL Server110DTSBinn;%ANT_HOME%bin;C:adt-bundle-windows-x86_64-20140321sdkplatform-tools;C:adt-bundle-windows-x86_64-20140321sdktools;C:Program Filesnodejs

注:我复制从JDK / lib中的tools.jar到JRE / lib目录后,一些 研究在互联网上。没有工作。

Note: I copied the tools.jar from jdk/lib to jre/lib after some research on the internet. Not working.

注2:我给命令CD C: Users 用户barisa.cordova lib目录机器人科尔多瓦 3.4.0 bin中有一个 check_reqs文件文件夹中。但是,如果我输入$ chek_reqs在 命令行提示check_reqs不被识别为一个内部或 外部命令......

Note 2: I give the command "cd C:Usersbarisa.cordovalibandroidcordova3.4.0bin" There is a check_reqs file in that folder. However if i type $ chek_reqs in the command line it says "check_reqs is not recognized as an internal or external command ...."

注3:我右键点击打开命令propmt(CMD) - >运行作为 管理员我应该怎么办?

Note 3: I opened command propmt (cmd) by right click -> run as administrator What should i do?

额外信息与-d标志:

我打扫.cordova并重新安装了它,现在,我收到此错误:

I cleaned .cordova and reinstalled it and now, i am getting this error:

我的变量被定义如上。

推荐答案

尝试请按照下列步骤操作:

Try to follow these steps:

运行命令:故宫卸载科尔多瓦-g 删除文件夹:C:用户你的名 .cordova 重新安装科尔多瓦:故宫安装-g科尔多瓦 现在,转到项目文件夹,然后再试一次:科尔多瓦平台添加的android
阅读全文

相关推荐

最新文章