需要一种从 PC 上拔下设备插头的方法吗?
如何从电脑上拔下设备?只有在我可以从电脑上拔下设备后,我总是从任务管理器中停止 adb。当时我的 Eclipse 中出现了一些错误:
[2011-09-16 12:05:14 - Logcat]An existing connection was forcibly closed by the remote host
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:395)
at com.android.ddmlib.Device.executeShellCommand(Device.java:284)
at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)
[2011-09-16 12:05:14 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-09-16 12:05:16 - DeviceMonitor]Connection attempts: 1
[2011-09-16 12:05:18 - DeviceMonitor]Connection attempts: 2
[2011-09-16 12:05:20 - DeviceMonitor]Connection attempts: 3
[2011-09-16 12:05:22 - DeviceMonitor]Connection attempts: 4
[2011-09-16 12:05:24 - DeviceMonitor]Connection attempts: 5
[2011-09-16 12:05:26 - DeviceMonitor]Connection attempts: 6
[2011-09-16 12:05:28 - DeviceMonitor]Connection attempts: 7
[2011-09-16 12:05:30 - DeviceMonitor]Connection attempts: 8
[2011-09-16 12:05:32 - DeviceMonitor]Connection attempts: 9
[2011-09-16 12:05:34 - DeviceMonitor]Connection attempts: 10
[2011-09-16 12:05:36 - DeviceMonitor]Connection attempts: 11
避免这种尝试的方法是什么以及如何在不停止 adb 的情况下安全地拔出插头?
How to unplug the device from pc? I'm always stop the adb from my TaskManager after only i can unplug my device from PC. In that time i'm having some errors in my Eclipse :
[2011-09-16 12:05:14 - Logcat]An existing connection was forcibly closed by the remote host
java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:395)
at com.android.ddmlib.Device.executeShellCommand(Device.java:284)
at com.android.ddmuilib.logcat.LogPanel$3.run(LogPanel.java:527)
[2011-09-16 12:05:14 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host
[2011-09-16 12:05:16 - DeviceMonitor]Connection attempts: 1
[2011-09-16 12:05:18 - DeviceMonitor]Connection attempts: 2
[2011-09-16 12:05:20 - DeviceMonitor]Connection attempts: 3
[2011-09-16 12:05:22 - DeviceMonitor]Connection attempts: 4
[2011-09-16 12:05:24 - DeviceMonitor]Connection attempts: 5
[2011-09-16 12:05:26 - DeviceMonitor]Connection attempts: 6
[2011-09-16 12:05:28 - DeviceMonitor]Connection attempts: 7
[2011-09-16 12:05:30 - DeviceMonitor]Connection attempts: 8
[2011-09-16 12:05:32 - DeviceMonitor]Connection attempts: 9
[2011-09-16 12:05:34 - DeviceMonitor]Connection attempts: 10
[2011-09-16 12:05:36 - DeviceMonitor]Connection attempts: 11
What's the way to avoid this attempts and how to unplug safely without stop adb?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看看这个应用程序,承诺通过 wifi 进行 adb。
http://www.adbwireless-for-android/" Additivetips.com/mobile/use-adb-wireless-over-wi-fi-with-adbwireless-for-android/
Check out this app, promises adb over wifi.
http://www.addictivetips.com/mobile/use-adb-wirelessly-over-wi-fi-with-adbwireless-for-android/