Do I have to worry about DDMS console log messages "Cannot bind to local nnnn for debugger"?

I am new to Android programming (and the Eclipse IDE and Android emulator). I have Hello World, and some of Notepad work, but I still constantly get quite a few DDMS console log messages (shown below) about the inability to bind locales to the debugger.

[2010-05-29 21:03:16 - ddms] Can't bind to local 8601 for debugger [2010-05-29 21:05:26 - Device] Failed to delete temporary package: device (emulator-5556) request rejected: device not found [2010-05-29 21:06:47 - ddms] Can't bind to local 8600 for debugger [2010-05-29 21:07:05 - ddms] Can't bind to local 8601 for debugger [2010-05-29 21:07:05 - ddms] Can't bind to local 8602 for debugger 

And so on. This is problem? Can I get rid of these messages somehow?

+7
android eclipse android-emulator
May 30 '10 at 4:27
source share
3 answers

In Eclipse, goto

1) Windows-> Preference

2) Expand the Android menu in the side of the settings window.

3) Now select DDMS.

4) Then set the debugger’s local local port to "8601" and enable the "Use ADBHOST" check box, and the ABDHOST value should be "127.0.0.1".

5) Click "apply" and "OK."

6) Now you need to restart your ADB, for this you need to log in as the root user (suppose a Linux user) and go to the Platfrom tool folder of your Android SDK. Then do

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

You will see the message "Daemon started successfully." If you do not repeat step 6 again, until you see a success message.

+11
Jun 20 '12 at 6:19 06:19
source share

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

 127.0.0.1 localhost 

ps. the hosts file can be found in the c: \ windows \ system32 \ drivers \ etc \ hosts directory or if you are using linux / etc / hosts

+2
Aug 24 '10 at 16:08
source share

In my situation, the problem was solved by removing all Java 7. Now the debugger is working again!

+1
Aug 11 '13 at 12:45
source share



All Articles