无法绑定到本地8600以进行调试(android studio中的错误)

时间:2017-02-08 18:14:25

标签: android

我如何解决这个问题?

当我运行应用程序时,它会崩溃。

这是我在DDMS中看到的错误:

[2017-02-08 18:53:25 - ddms] Can't bind to local 8600 for debugger[2017-02-08 18:53:25 - ddmlib] ??????? ????? ???? ??-??? ?????? ????? ????? ???
java.io.IOException: ??????? ????? ???? ??-??? ?????? ????? ????? ???
    at sun.nio.ch.SocketDispatcher.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
    at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
    at sun.nio.ch.IOUtil.write(IOUtil.java:65)
    at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
    at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
    at com.android.ddmlib.Client.sendAndConsume(Client.java:684)
    at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:349)
    at com.android.ddmlib.Client.requestAllocationStatus(Client.java:523)
    at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:564)
    at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:539)
    at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:501)
    at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:397)
    at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:64)
    at com.android.ddmlib.DeviceMonitor$1.run(DeviceMonitor.java:320)

1 个答案:

答案 0 :(得分:-2)

我也遇到了同样的问题:

  

无法绑定到本地8600 for debugger

通过重新启动Android Studio解决了这个问题。