2014-12-26 6 views
0

Я пытаюсь реализовать приложение после these instructions from Selendroid official website, но я не могу заставить его работать. Когда я пытаюсь запустить свое приложение, Eclipse застревает в Launching 100%, и я должен ждать как 5-10 минут, пока не смогу вернуть его. Здесь ошибка: enter image description hereEclipse из памяти при попытке запуска приложения Selendroid

Если я взгляну на консоли I в 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 

Как я могу решить эту проблему?

Заранее спасибо.

ответ

0

Открыть файл eclipse.ini файл в вашей загруженной папке eclipse и обновить ниже args.

--launcher.XXMaxPermSize 
256m 
--launcher.defaultAction 
openFile 
-vmargs 
-Dosgi.requiredJavaVersion=1.5 
-Dhelp.lucene.tokenizer=standard 
-Xms40m 
-Xmx512m 
+0

Я думаю, что проблема не в Eclipse, а в конфигурации среды относительно Selendroid – lucasdc

 Смежные вопросы

  • Нет связанных вопросов^_^