运行我的安卓应用时出现 Dx 警告

4

您好,当我启动应用程序时,我会多次收到此错误消息,并且每次使用不同的软件包:

     Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.ibex.nestedvm.util.Sort$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.

我使用Mac OsX 10.8上的Eclipse 4.3。

我该如何解决这个问题?

1个回答

2
我认为您可能是将Action Bar Sherlock作为maven项目导入到工作区中,然后从您的项目中引用它作为库..
尝试将其作为Android项目导入!

如何做到这一点的任何细节? - David T.
不要将ABS作为Maven项目导入,而是将其作为现有的Android项目导入。就这样!告诉我我如何帮助你。 - gipinani

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接