守护程序未运行。现在在端口5037上启动 [英] Daemon not running. Starting it now on port 5037
问题描述
[2014-04-16 14:01:05 - Abc] ------------------------------
[2014-04-16 14:01:05 - Abc] Android Launch!
[2014-04-16 14:01:05 - Abc] The connection to `ADB` is down, and a severe error has occurred.
[2014-04-16 14:01:05 - Abc] You must restart `ADB` and Eclipse.
[2014-04-16 14:01:05 - Abc] Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86-20131030\sdk\platform-tools\adb.exe' and can be executed.
当我尝试运行程序时,发生了上述错误。作为解决方案,
The above error has occurred while I was trying to run a program. As a solution,
我通过打开命令提示符来完成以下步骤:
I did the following steps by opening the command prompt :
- 如果正在运行,请关闭Eclipse
- 转到命令提示符下的Android SDK platform-tools目录
- type
adb kill-server
- 然后键入
adb启动服务器
- 启动ADB时不会引发错误消息服务器,然后成功启动
adb
。 - 现在您可以再次启动Eclipse。
- Close the Eclipse if running
- Go to the Android SDK platform-tools directory in Command Prompt
- type
adb kill-server
- then type
adb start-server
- No error message is thrown while starting ADB server, then
adb is started successfully
. - Now you can start Eclipse again.
但它不起作用,并且在命令提示符中显示:
but it is not working and in the command prompt it shows :
daemon not running .starting it now on port 5037 ADB server didn't ACK FAILED TO START DAEMON
推荐答案
参考链接: http://www.programering.com/a/MTNyUDMwATA.html
我遵循的步骤
1)在命令提示符
中执行命令 adb nodaemon服务器
d提示将是:发生以下错误,无法绑定'tcp:5037'
原始ADB服务器端口绑定失败
Steps I followed
1) Execute the command adb nodaemon server
in command prompt
Output at command prompt will be: The following error occurred cannot bind 'tcp:5037'
The original ADB server port binding failed
2)输入以下命令查询使用端口5037
netstat -ano | findstr 5037
将在命令提示符下提示以下信息:TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 9288
2) Enter the following command query which using port 5037
netstat -ano | findstr "5037"
The following information will be prompted on command prompt: TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 9288
3)查看任务管理器,关闭所有adb.exe
3) View the task manager, close all adb.exe
4)重新启动eclipse或其他IDE
4) Restart eclipse or other IDE
以上步骤对我有用。
这篇关于守护程序未运行。现在在端口5037上启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!