PhoneGap的与Android&QUOT入门;缺少以下&QUOT之一; [英] PhoneGap Getting Started with Android "Missing one of the following"

查看:167
本文介绍了PhoneGap的与Android&QUOT入门;缺少以下&QUOT之一;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前以下<一href="http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android">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:

<一个href="http://simonmacdonald.blogspot.ca/2012/11/getting-create-command-to-work-on.html">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.

这篇关于PhoneGap的与Android&QUOT入门;缺少以下&QUOT之一;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆