PhoneGap的与Android&QUOT入门;缺少以下&QUOT之一;入门、PhoneGap、Android、QUOT

2023-09-05 23:36:53 作者:你爱我若能倒着说

我目前以下this有关开始在PhoneGap的教程。 我已经安装了一切,并设置在系统变量的路径。

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

缺少执行下列操作之一: JDK Android的SDK Apache Ant的

Missing one of the following: JDK Android SDK Apache ant

我检查与命令, Java中, 亚洲开发银行, 蚂蚁, 里面的命令提示符。 Java和亚洲开发银行似乎很好地工作,但是蚂蚁返回错误在build.xml不存在。构建失败。

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

您需要确保您可以执行的javac以及和你的JAVA_HOME是否设置正确。

You will need to make sure you can execute javac as well and that your JAVA_HOME is set correctly.

不要担心蚂蚁错误。只要它是在命令行中从具有build.xml文件的目录推出时,它会正常工作。

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.