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

后端 未结 20 1913
旧巷少年郎
旧巷少年郎 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:36

    Based on an Aptana Studio support response, it was confirmed that the Aptana plugin and Android Development Tools collide on this port (i.e. Aptana's Comet server overlapped on this port). Aptana opened a ticket back in 2010.

    Unfortunately, it does not appear that Aptana has fixed it yet or made their Comet server port configurable. Changing the port number in eclipse and restarting adb did NOT fix it for me. I finally was forced to uninstall the Aptana plugin.

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

    For people running Android Studio and Eclipse:

    I know that answers are already saturated, but I'll just add that it appears that this error surfaces after installing Android Studio and returning to Eclipse to build and run your project.

    Make sure you close all other instances of ADB that may be running (including Android Studio). Once you've done this if you are still having troubles try killing all ADB server processes and restarting. If you haven't setup a global variable, open terminal and navigate to the platform-tools folder of the Android SDK Eclipse is referencing, then run:

    ./adb kill-server
    ./adb start-server
    
    0 讨论(0)
  • 2020-11-29 01:43

    Worked for me, based on this answer

    In Eclipse go to

    Window->Preference->Android->DDMS
    

    Then tick "Use ADBHOST" as "127.0.0.1".

    Then just restart eclipse

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

    After hours trying to fix it with java sdks, eclipse.ini file, and all material found on the question, what definetely worked for me :

    UINSTALLED AVG ANTI-VIRUS

    then all ports on DDMS get green, no matter java or Genymotion settings or what the...

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

    In my case the problem was that there was a ghost eclipse hanging on background; it was not using any workspace and had no windows, so it was only on process list that I found it. Killing it resolved the issue.

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

    Running two instances of adb (eg eclipse debugger and android studio) at same time causes conflicts as this too

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