I am just starting to develop a simple welcome application for the world, and I got this error, and I can not debug any application on AVD and any device. I am using Eclipse Juno and Windows 8.
[2012-11-11 10:57:37 - ddms] Can't bind to local 8610 for debugger [2012-11-11 10:57:37 - ddmlib] An established connection was aborted by the software in your host machine java.io.IOException: An established connection was aborted by the software in your host machine at sun.nio.ch.SocketDispatcher.write0(Native Method) at sun.nio.ch.SocketDispatcher.write(Unknown Source) at sun.nio.ch.IOUtil.writeFromNativeBuffer(Unknown Source) at sun.nio.ch.IOUtil.write(Unknown Source) at sun.nio.ch.SocketChannelImpl.write(Unknown Source) at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213) at com.android.ddmlib.Client.sendAndConsume(Client.java:575) at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348) at com.android.ddmlib.Client.requestAllocationStatus(Client.java:421) at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:837) at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:805) at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:765) at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:652) at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44) at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:580) [2012-11-11 10:58:41 - ddms] Can't bind to local 8602 for debugger [2012-11-11 10:58:41 - ddms] Can't bind to local 8610 for debugger [2012-11-11 10:58:41 - ddms] Can't bind to local 8602 for debugger
I checked many of the available solutions, including: disabling Windows firewall / antivirus
adding the line "127.0.0.1 localhost" to the host file
checking for another eclipse instance running in the background (I only have one instance working)
restart adb
recreation avd
restarting eclipse and my computer also did not help
a change in the window โ Settings โ Android โ DDMS โlocal debugger local portโ and checking โuse ADBHOSTโ with โ127.0.0.1โ also did not help me.
check with netstat -a that the ports are not used
Please, maybe someone can solve the madness so that the debugger connects.
source share