Skip to content Skip to sidebar Skip to footer

Should I Worry About Ddms Console Log Messages "can't Bind To Local Nnnn For Debugger"?

I'm new to Android programming (and Eclipse IDE and Android emulator). I've got Hello World and some of Notepad working, but I'm still constantly getting quite a few DDMS console

Solution 1:

In Eclipse, goto

1) Windows->Preference

2) Expand Android menu in the side of the Preference Window.

3) Now select DDMS from it.

4) Then Set the Base local debugger port to "8601" and enable "Use ADBHOST" checkbox and the ABDHOST value should be "127.0.0.1".

5) Click apply and ok.

6) Now you have to restart your ADB, for this you have to login as root user(Assuming linux user) and navigate to Platfrom tools folder of your Android SDK. Then execute,

 ./adb kill-server
 ./adb start-server

You will be able to see the message "Daemon started Successfully" . If not repeat step 6 once again until you see the success message.

Solution 2:

You can get rid of the the messages by adding following to your hosts file:

127.0.0.1 localhost

ps. hosts file can be found from c:\windows\system32\drivers\etc\hosts or if you are on linux /etc/hosts

Solution 3:

In my situation the problem has been solved by a uninstalling all Java 7. The debugger is now working again!

Post a Comment for "Should I Worry About Ddms Console Log Messages "can't Bind To Local Nnnn For Debugger"?"