开发者

Adb stopped by some reason?

Sometimes my adb disconnected. Why i am getting l开发者_如何学Goike 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?


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.

Adb stopped by some reason?


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.


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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜