错误:Faileld运行" ant -version"在建立cordova项目

时间:2015-02-26 10:32:32

标签: android cordova ant

我有一个问题,当我编写命令“cordova build android”来构建我的项目时,上面显示错误,但我下载并安装了Apache Ant:

Error : Failed to run "ant -version", make sure you have ant install to your path.
at  D:\hello\platforms\android\cordova\lib\chek_reqs.js:43:27
at Childprocess.exithandler <child_process.js:652:7>
at Childprocess.emit <events.js:756:16>

ERROR building one of the platforms : Error: D:\hello\platforms\android\cordova\build.bat : Command failed with exit code 8
you may not have the required environment or OS to build this project 

我做错了什么?

提前感谢..

0 个答案:

没有答案