ADB 在 Eclipse 中崩溃

发布于 2024-10-27 15:17:16 字数 1247 浏览 5 评论 0原文

这个问题与此线程相关,但是该线程没有答案,所以这在技术上不是重复的。

我已经在 Windows 7 x64 和 Eclipse SDK 3.6.2 上运行 ADB 1.0.26,并使用 ADT 10.0.1 SDK 工具 r10,并且已经安装了所有 Android SDK 版本。

当我在调试模式下将手机连接到计算机并在命令提示符中输入 adb devices 时,我的手机就会出现。这是 Inspire 4G。我可以通过 adb shell 进入设备并 ls,因此我假设链中的 adb/driver/phone 部分工作正常。

现在,如果我连接手机并进入 Eclipse,我会得到:

[2011-03-28 17:46:33 - DeviceMonitor]Adb 连接错误:现有连接被远程主机强制关闭

[2011-03-28 17:46:34 - DeviceMonitor]连接尝试:1

[2011-03-28 17:46:36 - DeviceMonitor]连接尝试:2

[...]

[2011-03-28 17:47:53 - DeviceMonitor]连接尝试:10

[2011-03-28 17:46:54 - DeviceMonitor]连接尝试: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:04 - DeviceMonitor]Adb 连接错误:现有连接被远程主机强制关闭

[2011-03-28 17:47:05 - DeviceMonitor]连接尝试:1

[2011-03-28 17:47:07 - DeviceMonitor]连接尝试:2

等,等等...这将永远循环。 无论我启动 Eclipse 然后连接手机,还是连接手机然后启动 Eclipse,都没有关系。

我认为这并不重要,但我的手机是 Inspire 4G,已植根并运行 Revolution 4G 3.2

This question relates to this thread, however that thread has no answers so this it not technically a duplicate.

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.

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.

Now, if I connect my phone and go into Eclipse, I get:

[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

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.

I don't think it should matter, but my phone is an Inspire 4G which is rooted and running Revolution 4G 3.2

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

日暮斜阳 2024-11-03 15:17:16

这个修补过的 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

深海夜未眠 2024-11-03 15:17:16

为此,请转至 DDMS,查找设备 --> 查看菜单 --> 重置 adb。

For this go to DDMS, Look for Devices-->View Menu-->Reset adb.

御弟哥哥 2024-11-03 15:17:16

您安装了 Revolution 4G ROM 吗?如果是这样,那么我必须安装无意义的补丁来删除所有 HTC 的东西。一旦我这样做了,ADB 就不再在 Eclipse 中崩溃了。

编辑-实际上,有时它似乎仍然会崩溃,但不是那么频繁?仍然没有解决办法。

Do you have the Revolution 4G ROMs installed? If so, then I had to install the no-sense patch to remove all the HTC stuff. Once I did that, ADB stopped crashing in Eclipse.

Edit - Actually it seems like it still crashes sometimes, but not as often? Still not a solution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文