如何从电脑上拔下设备?只有我可以从PC上拔下我的设备后,我总是从我的TaskManager中停止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的情况下安全地拔出电源?
答案 0 :(得分:0)