Go to Eclipse home Directory --> Plugins --> find 'org.apache.ant_?.?.?.v?????'
Then add the bin
folder in there to your system path. Cordova should find it then.
题
I'm trying to install cordova and I'm stuck on adding android platform. cordova platform add android says that I don't have ant installed. And I don't because I'm using Aptana (Eclipse). Can I force cordova to use eclise or I have to install ant?
解决方案
Go to Eclipse home Directory --> Plugins --> find 'org.apache.ant_?.?.?.v?????'
Then add the bin
folder in there to your system path. Cordova should find it then.