0

Selendroid 公式 Web サイトの指示に従ってアプリを実装しようとしていますが、機能させることができません。アプリを起動しようとすると、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 に答える