跳过的build.xml Eclipse的验证跳过、build、Eclipse、xml

由网友(牵着蜗牛去散步)分享简介:我已经按照给出的步骤在Android开发者博客生成一个build.xml构建版本为Android应用程序。我需要做一个自定义的编译,所以我已经覆盖了ant_rules_r3.xml的目标编译,因为它是说,在生成的build.xml。I've followed the steps given in the Androi...

我已经按照给出的步骤在Android开发者博客生成一个build.xml构建版本为Android应用程序。我需要做一个自定义的编译,所以我已经覆盖了ant_rules_r3.xml的目标编译,因为它是说,在生成的build.xml。

I've followed the steps given in the Android Developer Blog to generate a build.xml for building releases for an Android Application. I need to do a custom compiling so I have overwritten the target compile of the ant_rules_r3.xml as it is said in the generated build.xml.

 <target name="compile" depends="-resource-src, -aidl, -pre-compile" ...

该脚本能正常工作并生成APK,但问题是,Eclipse中显示一个错误,因为它无法找到目标 -resource-SRC -aidl - pre-编译(其中执行脚本时加载,但不是真正的$上构建p $ psent。 XML)。由于有这些错误,我不能在Eclipse项目工作。

The script works fine and generates the apk, but the problem is that Eclipse shows an error because it cannot find targets -resource-src, -aidl and -pre-compile (which are loaded when executing the script but are not really present on the build.xml). As there are these errors I cannot work with the project in Eclipse.

我怎么能跳过这个单个文件的验证在Eclipse?

How can I skip the validation of this single file in Eclipse?

推荐答案

我不知道你是否可以为单个文件做到这一点,但我认为你可以禁用验证下蚀preferences内的验证。

I do not know if you can do this for a single file but i think you can disable the validation within the eclipse preferences under Validation.

阅读全文

相关推荐

最新文章