Eclipse DDMS error “Can't bind to local 8600 for debugger”

后端 未结 20 1911
旧巷少年郎
旧巷少年郎 2020-11-29 01:19

I get the following error in Eclipse:

[timestamp - ddms] Can\'t bind to local 8600 for debugger

Why?

相关标签:
20条回答
  • 2020-11-29 01:24

    I had a similar problem on OSX. It just so happens I had opened two instances of Eclipse so I could refer to some code in another workspace. Eventually I realized the two instances might be interfering with each other so I closed one. After that, I'm no longer seeing the "Can't bind..." error.

    0 讨论(0)
  • 2020-11-29 01:25

    In addition to adding 127.0.0.1 localhost to your hosts file, make the following changes in Eclipse.

    Under

    Window -> Preferences -> Android -> DDMS

    Set Base local debugger port to 8601

    Check the box that says Use ADBHOST and the value should be 127.0.0.1 Thanks to Ben Clayton & Doguhan Uluca in the comments for leading me to a solution.

    Some Google keywords:

    Ailment or solution for Nexus S Android debugging with the error message: Can't bind to local 8600 for debugger.

    0 讨论(0)
  • 2020-11-29 01:25

    On Windows 8 I was batteling with this for some time:
    do you have AVG installed? uninstalling AVG did the trick for me

    0 讨论(0)
  • 2020-11-29 01:26

    Don't uninstall, this is just a dumb thing done by the system which as trouble finding localhost it seems. Take a look in here, it's quite easy to fix. I had the same issue a few weeks ago and solved it this way.

    the window Host file that is messed up:
    the file is at this place :
    C:\WINDOWS\system32\drivers\etc

    And should contain this line : 127.0.0.1 localhost

    0 讨论(0)
  • 2020-11-29 01:29

    For me, this was due to the fact that I was trying to debug using eclipse yet also running Android Studio. Both programs were trying to monitor android devices on the similar ports. Either quit all IDEs other than one, or modify the port number used for debugging in the IDE preferences so they are not similar.

    0 讨论(0)
  • 2020-11-29 01:30

    The only fix that really worked for me was uninstalling Java 7 and installing Java 6 on my Windows 8 x64 based machine.

    You can download Java 6 from here.

    0 讨论(0)
提交回复
热议问题