科尔多瓦未能建立,但PATH,ANT_HOME& JAVA_HOME设置正确

时间:2015-02-12 17:36:16

标签: cordova

我正在尝试构建Cordova但是我收到以下错误代码:

C:\Users\JapSeyz\AppData\Local\Android\sdk\tools\ant\build.xml:283: null returned: 2

Total time: 5 seconds

D:\Lager\Diverse\Cordorva\hello\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                          ^
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,D:\Lager\Diverse\Cordorva\hello\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
ERROR running one or more of the platforms: Error: D:\Lager\Diverse\Cordorva\hello\platforms\android\cordova\run.bat: Command failed with exit code 8
You may not have the required environment or OS to run this project

ANT版本是1.9.4

JDK版本是1.7.0_71

我只是想运行标准生成的应用程序。

0 个答案:

没有答案