Adb 由于某种原因停止了?
有时我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
由于某些原因有时 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 seereset adb
option inView Menu
besidesScreen Capture
option.重新启动 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!
我希望连接设备的电缆连接松动。
Loose connection of the cable connecting the device i hope.
进入
DDMS->Devices
,除了Screen Capture选项之外,您还会在View Menu中看到restart adb
选项。Go to
DDMS->Devices
and you will seerestart adb
option in View Menu besides Screen Capture option.在首选项中将 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.