DDMS-无法将绑定到本地 8600 调试器 Android studio

发布时间: 2016/6/26 19:54:23
注意事项: 本文中文内容可能为机器翻译,如要查看英文原文请点击上面连接.

view 我使用的数据库表 Android 设备监视器和它显示我的错误我不太确定的理由。我没有 DDMS 运行的另一个实例。

而不是显示我 DDMS,其显示我这错误

[2015-09-10 17:39:53 - ddms] Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.
[2015-09-10 17:39:53 - ddms] Can't bind to local 8600 for debugger
[2015-09-10 17:39:53 - ddmlib] Broken pipe
java.io.IOException: Broken pipe
    at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
    at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
    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:487)
    at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
    at com.android.ddmlib.Client.sendAndConsume(Client.java:677)
    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:847)
    at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:815)
    at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:775)
    at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:664)
    at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:46)
    at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:592)

请任何人对此知道解决方案???

解决方法 1:

试着杀害 adb serverrestarting the adb serverterminal

adb kill-server
adb start-server

此外在您的移动设备,切换 usb 调试。 这两个结合工作的我,当我都有这个问题。

此外可能要考虑使用facebook 的 Stetho,你可以 view 您的数据库,以及与运行的查询 StethoStetho 也让你看网络电话, viewview 层次结构和更多。

官方微信
官方QQ群
31647020