我有一个问题,当我编写命令“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
我做错了什么?
提前感谢..