Tag: ant

安装PhoneGap,执行命令'ant'时出错

当通过nodeJS安装PhoneGap时,我试图运行我的应用程序(安装phonegap和创build应用程序工作)时出现错误: C:\Users\arko\my-app>phonegap run android [phonegap] detecting Android SDK environment… [phonegap] using the local environment [phonegap] adding the Android platform… [error] An error occured during creation of android sub-project. C:\Users\arko\.cordova\lib\android\cordova\3.3.0\bin\node_modules\q\q.js:126 throw e; ^ Error: ERROR : executing command 'ant', make sure you have ant installed and add ed to your path. at C:\Users\arko\.cordova\lib\android\cordova\3.3.0\bin\lib\check_reqs.js:47 :27 at ChildProcess.exithandler […]