почему мне не удалось запустить Android в eclipse?

немного сбивает с толку то, что adb.exe находится на правильном пути...

версия eclipse, которую я использую, это идентификатор сборки:

Eclipse Java EE IDE for Web Developers.

Version: Juno Release
Build id: 20120614-1722

моя версия рекламы:

    20.0.3

сообщение об ошибке, которое я получаю с консоли Android, выглядит следующим образом, почему возникает ошибка?

[2012-09-26 12:17:40 - android] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.commons.httpclient.HttpMethodBase$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.
[2012-09-26 12:17:42 - android] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$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.
[2012-09-26 12:17:48 - android] ------------------------------
[2012-09-26 12:17:48 - android] Android Launch!


[2012-09-26 12:17:48 - android] The connection to adb is down, and a severe error has occured.
[2012-09-26 12:17:48 - android] You must restart adb and Eclipse.
[2012-09-26 12:17:48 - android] Please ensure that adb is correctly located at 'D:\Tools\sdk-tools\android-sdk-windows\platform-tools\adb.exe' and can be executed.

более того, как только я запустил эмулятор Android, я могу найти его, используя:

  adb devices

но я не могу найти его в представлении устройства объявления, почему?


person hugemeow    schedule 26.09.2012    source источник
comment
Перезапустите затмение, это не ошибка.   -  person Hardik Joshi    schedule 26.09.2012
comment
с той же ошибкой, также я пробовал adb kill-server, adb start-server, бесполезно...   -  person hugemeow    schedule 26.09.2012
comment
Можете ли вы попробовать запустить свое затмение от имени администратора? Щелкните правой кнопкой мыши значок запуска eclipse и запустите его как администратор. Посмотрите, что происходит сейчас.   -  person VendettaDroid    schedule 26.09.2012
comment
присутствует ли adb.exe в папке D:\Tools\sdk-tools\android-sdk-windows\platform-tools\ ?   -  person Dinesh Venkata    schedule 26.09.2012
comment
stackoverflow.com/a/11262706/582571 проверьте эту ссылку. это может быть полезно для вас. Я думаю, вы получаете ошибку из-за поддержки библиотеки.   -  person Thiru    schedule 26.09.2012


Ответы (1)


Я не уверен, но я ожидал, что вы получите помощь от этого Как могу ли я обновить свой ADT в eclipse? . Пожалуйста, попробуйте это. Может быть, вам удастся решить вашу проблему. Удачи!

person Community    schedule 23.04.2014