0

我正在尝试按照Selendroid 官方网站上的这些说明实现一个应用程序,但我无法使其工作。当我尝试启动我的应用程序时,Eclipse 卡在 Launching 100% 中,我必须等待 5-10 分钟才能恢复。这是错误:在此处输入图像描述

如果我看一下 Eclipse 的控制台,我会看到一堆类似于这些的错误:

[2014-12-26 00:53:35 - QualE] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.bcel.generic.InstructionList$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.
[2014-12-26 00:53:57 - QualE] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.bcel.generic.Type$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.
[2014-12-26 00:54:02 - QualE] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.bcel.util.ClassPath$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.
[2014-12-26 00:54:02 - QualE] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.bcel.util.ClassPath$2) 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.
[2014-12-26 00:54:02 - QualE] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.bcel.util.ClassPath$3) 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.
[2014-12-26 00:59:20 - Dex Loader] Unable to execute dex: GC overhead limit exceeded
[2014-12-26 00:59:20 - QualE] Conversion to Dalvik format failed: Unable to execute dex: GC overhead limit exceeded

我怎么解决这个问题?

提前致谢。

4

1 回答 1

0

在 eclipse 下载文件夹中打开eclipse.ini文件并在 args 下方更新。

--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
于 2014-12-26T06:04:14.690 回答