我正在尝试在these instructions from Selendroid official website之后实施应用,但我无法让它发挥作用。当我尝试启动我的应用程序时,Eclipse在100%启动时陷入困境,我必须等待5-10分钟,直到我能够恢复它。这是错误:
如果我看看Eclipse的控制台,我可以看到类似这些错误的BUNCH:
[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
我该如何解决这个问题?
提前致谢。
答案 0 :(得分:0)
在您的eclipse下载文件夹中打开 eclipse.ini 文件,并在下面更新args。
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m