ADB在Eclipse中崩溃 [英] ADB Crashing in Eclipse
问题描述
此问题涉及此线程,但该线程具有没有答案,所以这在技术上不重复。
This question relates to this thread, however that thread has no answers so this it not technically a duplicate.
我有ADB 1.0.26运行在我的Windows 7 x64和Eclipse SDK 3.6.2与ADT 10.0.1 SDK工具r10,我已经安装了所有的Android SDK版本。
I've got ADB 1.0.26 running on my Windows 7 x64 and Eclipse SDK 3.6.2 with ADT 10.0.1 SDK tools r10, and I've got all the Android SDK versions installed.
当我以调试模式连接手机到电脑,然后输入 adb devices
进入命令提示符,我的手机显示。这是一个启发4G。我可以将 adb shell
加入设备和 ls
,所以我假设adb / driver / phone是链接正常工作。
When I connect my phone to the computer in debug mode, and type adb devices
into the command prompt, my phone shows up. It's an Inspire 4G. I can adb shell
into the device and ls
, so I'm assuming that the adb/driver/phone part of the chain is working properly.
现在,如果我连接我的手机并进入Eclipse,我得到:
Now, if I connect my phone and go into Eclipse, I get:
[2011-03-28 17:46:33 - DeviceMonitor] Adb连接错误:现有连接被远程主机强行关闭
[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]连接尝试:1
[2011-03-28 17:46:34 - DeviceMonitor]Connection attempts: 1
[2011-03-28 17:46:36 - DeviceMonitor]连接尝试:2
[2011-03-28 17:46:36 - DeviceMonitor]Connection attempts: 2
[...]
[2011-03-28 17:47:53 - DeviceMonitor]连接尝试:10
[2011-03-28 17:47:53 - DeviceMonitor]Connection attempts: 10
[2011-03-28 17:46:54 - DeviceMonitor]连接尝试:11
[2011-03-28 17:46:54 - DeviceMonitor]Connection attempts: 11
[2011-03-28 17:47:00 - adb]
[2011-03-28 17:47:00 - adb]
[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] P租赁联系申请的支持团队了解更多信息。
[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连接错误:现有连接被强制关闭远程主机
[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]连接尝试:1
[2011-03-28 17:47:05 - DeviceMonitor]Connection attempts: 1
[2011-03-28 17:47:07 - DeviceMonitor]连接尝试:2
[2011-03-28 17:47:07 - DeviceMonitor]Connection attempts: 2
等等...这个循环永远。
如果我启动Eclipse然后连接手机,或者如果我连接手机然后启动Eclipse没关系。
etc, etc... This loops forever. It doesn't matter if I start Eclipse and then connect the phone, or if I connect the phone and then start Eclipse.
我不认为它应该是重要的,但我的手机是一个启发4G,根植于运行革命4G 3.2
I don't think it should matter, but my phone is an Inspire 4G which is rooted and running Revolution 4G 3.2
推荐答案
这个修补的adb版本正常对我来说(HTC Desire HD):
http:// code .google.com / p / android / issues / detail?id = 12141
this patched adb version worked fine for me (HTC Desire HD): http://code.google.com/p/android/issues/detail?id=12141
这篇关于ADB在Eclipse中崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!