Android 守护进程未运行。现在在端口 5037 上启动它
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/23104394/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Daemon not running. Starting it now on port 5037
提问by user3041524
[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 occured.
[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 occured while I was trying to run a program. As a solution I did the following steps by opening the comand promt.
当我尝试运行程序时发生了上述错误。作为解决方案,我通过打开命令提示符执行了以下步骤。
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 promt it shows
但它不起作用,并在命令提示符中显示
daemon not running .starting it now on port 5037ADB server didn't ACK FAILED TO START DAEMON
守护进程没有运行。现在在端口 5037 上启动它ADB 服务器没有 ACK FAILED TO START DAEMON
回答by Santosh Waddi
Reference link: http://www.programering.com/a/MTNyUDMwATA.html
参考链接:http: //www.programering.com/a/MTNyUDMwATA.html
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
我遵循的步骤1)adb nodaemon server
在命令提示符下执行命令命令提示符下的输出将是:发生以下错误无法绑定'tcp:5037'原始ADB服务器端口绑定失败
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
2) 输入以下命令查询,使用端口 5037
netstat -ano | findstr "5037"
命令提示符会提示以下信息: TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 9288
3) View the task manager, close all adb.exe
3)查看任务管理器,关闭所有adb.exe
4) Restart eclipse or other IDE
4)重启eclipse或其他IDE
The above steps worked for me.
上述步骤对我有用。
回答by M. Usman Khan
This worked for me: Open task manager (of your OS) and kill adb.exe process. Now start adb again, now adb should start normally.
这对我有用:打开任务管理器(您的操作系统)并杀死 adb.exe 进程。现在再次启动 adb,现在 adb 应该可以正常启动了。