ADB error: cannot connect to daemon

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!


Solution 1:

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.

Solution 2:

If nothing works Restart your PC . Restarting my computer does the trick

Solution 3:

I face this problem on daily basis, so to resolve this I kill adb.exe by executing following command :

taskkill /f /im adb.exe

Note : You should have administrative rights to execute the above command.

Solution 4:

Same issue for me. Was stumped. After I removed "Dell PC Suite" the problem went away.

Solution 5:

This answer may help some. The adb.exe has problems with virtual devices when you are using your phone for tethering. If you turn off tethering it will correct the problem.