我正在尝试构建一个phonegap android,当时我收到一条消息

[phonegap] detecting Android SDK environment...
[phonegap] using the local environment
[phonegap] adding the Android platform...
   [error] An error occured during craetion of android sub-projesct. creating cordova project for the android platform

请帮帮我。
提前谢谢。

最佳答案

你的路上好像少了蚂蚁二元体!
在您使用npm安装ant时,如下所示:
sudo npm install -g ant
然后将$path中找到的bin文件夹的符号链接设置为
sudo ln -s /usr/local/lib/node_modules/ant/ant/bin/ant /usr/local/bin/ant

07-24 09:49
查看更多