Reputation: 4150
I've cretaed a new app and when I'm try to build appears error
executing command 'ant' make sure you have ant installed and added to your path
Upvotes: 0
Views: 42
Reputation: 476
Install Apache Ant.
Note: zip archive binary version
Also, PhoneGap needs all its paths correctly specified for all the dependent sdks and platforms.
Add to your path some think like this:
Variable Name: JAVA_HOME Variable Value: C:\Program Files\Java\jdk1.7.0_45;
Variable Name: PATH Variable Value: %JAVA_HOME%\bin;
Variable Name: PATH Variable Value: C:\Documents and Settings\Your Name\Application Data\npm;
Variable Name: PATH Variable Value: C:\Your Installation Path\To Node JS\
Variable Name: ANT_HOME Variable Value: C:\Your Path\To Ant\apache-ant-1.9.3;
Variable Name: PATH Variable Value: %ANT_HOME%\bin;
Variable Name: ANDROID_SDK_HOME Variable Value: C:\Location To\Your Work\Environment\adt-bundle-windows-x86-20131030\sdk;
Variable Name: PATH Variable Value: C:\Location To\Your Work\Environment\adt-bundle-windows-x86-20131030\sdk\platform-tools;
Variable Name: PATH Variable Value: C:\Location To\Your Work\Environment\adt-bundle-windows-x86-20131030\sdk\tools;
I hope it helps :)
Upvotes: 1