-1

我从 github 下载了 ShowcaseView 库并在 eclipse 上导入了它。我下载了 ActionBarSherlock-4.4.0 并导入了它。

我还在示例项目中添加了 ShowcaseView Library 和 ActionBarSherlock-4.4.0 并没有收到任何错误,但是当我单击时run as android application,经过很长时间我得到:

Conversion to Dalvik format failed: Unable to execute dex: Java heap space

并且应用程序不运行。

同时我在控制台中得到这个:

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.

请帮我。

4

1 回答 1

0

这是与项目中包含的 robolectric JAR 相关的问题。删除 JAR(在库的 libs 文件夹中),它应该可以编译。

于 2014-04-11T08:20:02.443 回答