I am currently following this tutorial about getting started on PhoneGap.
I have installed everything and set the path on system variable.
But when I am going to build the project it always give an error of
Missing one of the following:
JDK
Android SDK
Apache ant
I have check with command,
java,
adb,
ant,
inside the command prompt. java and adb seems work perfectly, but ant return an error “Build.xml does not exist. build failed”.
How can I generate the project file?
You may want to check out my supplemental to the getting started guide:
http://simonmacdonald.blogspot.ca/2012/11/getting-create-command-to-work-on.html
You will need to make sure you can execute javac as well and that your JAVA_HOME is set correctly.
Don’t worry about the ant error. As long as it is found from the command line it will work properly when launched from a directory with a build.xml.