Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

android - 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-20131030sdkplatform-toolsadb.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 :

  • 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
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Reference link: 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

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) View the task manager, close all adb.exe

4) Restart eclipse or other IDE

The above steps worked for me.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...