本文介绍了守护进程未运行.现在在端口 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 目录
  • 输入 adb kill-server
  • 然后输入adb start-server
  • 启动ADB服务器没有报错,说明adb启动成功.
  • 现在您可以再次启动 Eclipse.

但它不起作用,并在命令提示符中显示:

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 server命令提示符的输出将是:发生以下错误无法绑定 'tcp:5037'原ADB服务器端口绑定失败

Steps I followed1) 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 5037netstat -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 上启动它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-31 09:42