找不到build.xml文件(Android版) [英] Cannot find build.xml (Android)

查看:1642
本文介绍了找不到build.xml文件(Android版)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一个这样的asnwer一会儿了,但我似乎无法找到它。我感动了NeBeans Android项目在通过perfoce,现在我收到以下错误

I've been looking for an asnwer for this for a little while now, but I cant seem to find it. I moved a NeBeans Android project over through perfoce and now I am getting the following error

 ****\ZYAndroidAPP\build.xml:81: Cannot find F:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml imported from ****\ZYAndroidAPP\build.xml

好像在Android构建的信息不被approriately通过

Seems like the build information from Android is not being approriately set by

  <import file="${sdk.dir}/tools/ant/build.xml" />

在项目的构建脚本。我试着将它设置为正确的路径的SDK,它给了我同样的错误。

in in the build script of the project. I tried setting it to the correct path to the SDK and it gave me the same error.

有没有人有这个问题?

推荐答案

检查两件事情...

一个。确保您的路径在你的 local.properties 文件正确设置

A. Make sure your path is set properly in your local.properties file

sdk.dir = /用户/我/文档/ Android的SDK-的MacOSX /

乙。请确保您的环境变量设置正确:

B. Make sure your environment variable is set properly:

回声$ ANDROID_HOME

如果不是,然后将其设置:

If not, then set it:

出口ANDROID_HOME = /用户/我/文档/ Android的SDK-的MacOSX /

这篇关于找不到build.xml文件(Android版)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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