Adb 由于某种原因停止了?

发布于 2024-12-06 17:53:18 字数 1096 浏览 1 评论 0原文

有时我的 adb 会断开连接。为什么我会这样: -

[2011-09-27 17:39:43 - adb]
[2011-09-27 17:39:43 - adb]This application has requested the Runtime to terminate it in an     unusual way.
[2011-09-27 17:39:43 - adb]Please contact the application's support team for more     information.
[2011-09-27 17:39:49 - DeviceMonitor]Adb connection Error:An existing connection was     forcibly closed by the remote host
[2011-09-27 17:39:51 - DeviceMonitor]Connection attempts: 1
[2011-09-27 17:39:53 - DeviceMonitor]Connection attempts: 2
[2011-09-27 17:39:55 - DeviceMonitor]Connection attempts: 3
[2011-09-27 17:39:57 - DeviceMonitor]Connection attempts: 4
[2011-09-27 17:39:58 - DeviceMonitor]Connection attempts: 5
[2011-09-27 17:40:00 - DeviceMonitor]Connection attempts: 6
[2011-09-27 17:40:02 - DeviceMonitor]Connection attempts: 7
[2011-09-27 17:40:04 - DeviceMonitor]Connection attempts: 8
[2011-09-27 17:40:06 - DeviceMonitor]Connection attempts: 9
[2011-09-27 17:40:08 - DeviceMonitor]Connection attempts: 10
[2011-09-27 17:40:10 - DeviceMonitor]Connection attempts: 11

有任何帮助吗?

Sometimes my adb disconnected. Why i am getting like this : -

[2011-09-27 17:39:43 - adb]
[2011-09-27 17:39:43 - adb]This application has requested the Runtime to terminate it in an     unusual way.
[2011-09-27 17:39:43 - adb]Please contact the application's support team for more     information.
[2011-09-27 17:39:49 - DeviceMonitor]Adb connection Error:An existing connection was     forcibly closed by the remote host
[2011-09-27 17:39:51 - DeviceMonitor]Connection attempts: 1
[2011-09-27 17:39:53 - DeviceMonitor]Connection attempts: 2
[2011-09-27 17:39:55 - DeviceMonitor]Connection attempts: 3
[2011-09-27 17:39:57 - DeviceMonitor]Connection attempts: 4
[2011-09-27 17:39:58 - DeviceMonitor]Connection attempts: 5
[2011-09-27 17:40:00 - DeviceMonitor]Connection attempts: 6
[2011-09-27 17:40:02 - DeviceMonitor]Connection attempts: 7
[2011-09-27 17:40:04 - DeviceMonitor]Connection attempts: 8
[2011-09-27 17:40:06 - DeviceMonitor]Connection attempts: 9
[2011-09-27 17:40:08 - DeviceMonitor]Connection attempts: 10
[2011-09-27 17:40:10 - DeviceMonitor]Connection attempts: 11

Any help appreciated?

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

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

发布评论

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

评论(5

盛装女皇 2024-12-13 17:53:18

由于某些原因有时 adb 会断开连接,因此在这种情况下您必须重置 adb。

进入DDMS->Devices,除了Screen Capture选项外,您还会在View Menu中看到reset adb选项。

在此处输入图像描述

Due to some reason sometimes adb gets disconnected, so in that case you have to reset the adb.

Go to DDMS->Devices and you will see reset adb option in View Menu besides Screen Capture option.

enter image description here

末骤雨初歇 2024-12-13 17:53:18

重新启动 adb 的另一种方法是通过终端或命令行。根据您的路径中是否有 adb,只需键入:

$ adb Kill-server

$ adb start-server

如果 adb 不在您的路径中,则:

$ path-to-sdk/platform-tools/adb Kill-server

$ path-to -sdk/platform-tools/adb start-server

希望这有帮助!

Another way to restart the adb is through terminal or command line. Depending on if you have adb in your path just type:

$ adb kill-server

$ adb start-server

If adb is not in your path then:

$ path-to-sdk/platform-tools/adb kill-server

$ path-to-sdk/platform-tools/adb start-server

Hope this helps!

前事休说 2024-12-13 17:53:18

我希望连接设备的电缆连接松动。

Loose connection of the cable connecting the device i hope.

生生漫 2024-12-13 17:53:18

进入DDMS->Devices,除了Screen Capture选项之外,您还会在View Menu中看到restart adb选项。

Go to DDMS->Devices and you will see restart adb option in View Menu besides Screen Capture option.

情徒 2024-12-13 17:53:18

在首选项中将 android/DDMS 日志设置从“错误”更改为“调试”。之后您应该能够使用 Reset adb 选项。

In preferences change the android/DDMS log settings from "error" to "debug". After this you should be able to use the Reset adb option.

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