android Can't bind to local 86XX for debugger

For some reason eclipse DDMS always gives the error 'Can't bind to local 86XX for debugger' every time I try and debug my app. This just started today for some reason.

I have looked at many posts and tried what they have suggested such as: 1. Adding 127.0.0.1 localhost to the hosts file and moving ::1 2. stopping and restarting adb 3. Under Window -> Preferences -> Android -> DDMS: Set Base local debugger port to "8601" Checked the box that says "Use ADBHOST" and set the value to "127.0.0.1"

I have also restarted the computer, updated Android platform tools and the eclipse plugin, Downloaded the latest adt-bundle and started the eclipse that is bundled with that.

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 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.

原文地址:https://www.cnblogs.com/yelanggu/p/5761141.html