Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 :

  • 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
like image 721
user3041524 Avatar asked Apr 16 '14 08:04

user3041524


1 Answers

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.

like image 67
Santosh Waddi Avatar answered Oct 20 '22 01:10

Santosh Waddi