Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADB error: cannot connect to daemon

Tags:

android

adb

I need help to get ADB working on my PC (win7 64bit) with the Samsung Galaxy S2.

I have installed the drivers coming along Kies, I think under sub folder "25_escape". The drivers appear correctly as "Samsung ADB interface" under the device manager.

When I run "adb devices" I get the following logs

>adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * ** daemon still not runningerror: cannot connect to daemon 

I'm wondering if it is a driver issue, or something else. I have several other android phones that are working just fine (HTC, Motorola, Samsung Galaxy S1 even works) but that issue is happening on the Galaxy S2 (and Tab 10.1 as well). I disabled windows firewall, and it is still stuck. I made sure Eclipse is not running and I tried to kill ADB from the task manager, but none of that helped.

Your help is really appreciated! Thanks!

like image 324
liorey Avatar asked Sep 06 '11 23:09

liorey


People also ask

How do I fix an ADB connection error?

In tools menu,Android-> untick enable adb Integration and Then OPEN widows task manager n manually end process adb.exe This also solved my issue as der were multiple adb.exe running. Show activity on this post. Restart the computer. Now, disconnect the device, connect it, Make sure USB debugging Option is enabled.

Why is ADB command not working?

If the ADB command is not found, most likely you need to install the Android SDK Platform-Tools package to make it available in the command prompt. Also, the phone should be in USB debugging mode.

How do I enable ADB connect?

Type adb tcpip 5555 in the command line or Terminal and press Enter. Find your phone's IP address in Settings > About Phone > Status > IP Address. Back in the command line or Terminal, type adb connect [your Android's IP address]. Finally, press Enter again.


1 Answers

Go to windows task manager and end process tree of adb. It will make attempts to start adb.

Sometimes on Windows adb kill-server and adb start-server fail to start adb.

like image 76
dharam Avatar answered Oct 19 '22 08:10

dharam