adb.exe 只是在正确的路径上,这有点令人困惑...
我使用的 Eclipse 版本是 Build id:
Eclipse Java EE IDE for Web Developers.
Version: Juno Release
Build id: 20120614-1722
我的广告版本是:</p>
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
但是我在adt的设备视图中找不到它,为什么?