我有ADB 1.0.26运行在我的Windows 7 x64和Eclipse SDK 3.6.2与ADT 10.0.1 SDK工具r10,我已经安装了所有的Android SDK版本.
当我在调试模式下将手机连接到电脑,并在命令提示符下键入adb设备时,我的手机显示.这是一个启发4G.我可以将shell加载到设备和ls中,所以我假设链接的adb / driver / phone部分正常工作.
现在,如果我连接我的手机进入Eclipse,我得到:
[2011-03-28 17:46:33 – DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-03-28 17:46:34 – DeviceMonitor]Connection attempts: 1
[2011-03-28 17:46:36 – DeviceMonitor]Connection attempts: 2
[…]
[2011-03-28 17:47:53 – DeviceMonitor]Connection attempts: 10
[2011-03-28 17:46:54 – DeviceMonitor]Connection attempts: 11
[2011-03-28 17:47:00 – adb]
[2011-03-28 17:47:00 – adb]This application has requested the Runtime to terminate it in an unusual way.
[2011-03-28 17:47:00 – adb]Please contact the application’s support team for more information.
[2011-03-28 17:47:04 – DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-03-28 17:47:05 – DeviceMonitor]Connection attempts: 1
[2011-03-28 17:47:07 – DeviceMonitor]Connection attempts: 2
等等…这永远循环.
如果我启动Eclipse然后连接手机,或者如果我连接手机,然后启动Eclipse没关系.
我不认为它应该是重要的,但我的手机是一个启发4G,根植于运行革命4G 3.2
解决方法
http://code.google.com/p/android/issues/detail?id=12141