我应该担心DDMS控制台日志消息"不能绑定到本地NNNN调试器和QUOT;?控制台、绑定、担心、消息

2023-09-06 02:37:33 作者:棒棒糖

我是新来的Andr​​oid程序(和Eclipse IDE和Android模拟器)。我得的Hello World和一些记事本的工作,但我还是经常收到不少DDMS控制台日志消息(如下图所示)有关无法绑定当地人调试器。

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 log messages (shown below) about not being able to bind locals for 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. Is this a problem? Can I get rid of these messages somehow?

推荐答案

在Eclipse中,转到

In Eclipse, goto

1)窗口 - > preference

1) Windows->Preference

2)展开机器人菜单在preference窗口的一侧。

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

3)现在从它选择DDMS。

3) Now select DDMS from it.

4)然后设置相应的本地调试端口为8601,并启用使用ADBHOST复选框和ABDHOST值应为127.0.0.1。

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)单击应用和确定。

5) Click apply and ok.

6)现在,您需要重新启动亚行,为此,你必须登录为root用户(假设Linux用户),然后导航到洗车台你的Andr​​oid SDK的工具文件夹中。然后执行,

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

您将可以看到守护进程启动成功。如果不是再次重复步骤6,直到你看到成功的消息。

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