简体   繁体   English

Android:构建期间发生错误?

[英]Android: Errors occured during the build?

I am attempting to run DEXguard on my simple android application. 我试图在我的简单android应用程序上运行DEXguard

I have taken the step of adding it's JAR file into the dropins directory in my Eclipse ADT bundle. 我已经采取了将其JAR文件添加到Eclipse ADT包中的dropins目录中的步骤。

However now whenever I open eclipse I get this error: 但是现在每当我打开日食时,都会出现此错误:

    Errors occurred during the build. 
Errors running builder "Android optimizer and obfuscator (Dexguard) on project 'test'.

    com/android/sdklib/util/GrabProcessOutput$IPProcessOutput

Anytime I try to run any project within eclipse this happens. 每当我尝试在Eclipse中运行任何项目时,都会发生这种情况。

What can I do to fix this problem? 我该怎么做才能解决此问题?

EDIT: I have already re-installed eclipse and updated my sdk 编辑:我已经重新安装了eclipse并更新了我的SDK

Such an error is a sign that you're combining the DexGuard plugin with an incompatible version of the Android plugin in Eclipse. 这样的错误表明您正在将DexGuard插件与Eclipse中Android插件的不兼容版本结合使用。 You should check the compatible version numbers that are documented in the DexGuard manual. 您应该检查DexGuard手册中记录的兼容版本号。 Upgrading both plugins to the latest versions should work. 将两个插件升级到最新版本都可以。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM