Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adb won't start

Tags:

Running Vista, tried starting adb from shell as admin get daemon not running starting it now

ADB server didn't ACK
* failed to start daemon *

Any help for this?

like image 362
Mike Burke Avatar asked Feb 21 '10 15:02

Mike Burke


1 Answers

This problem has annoyed me for a long time. In addition to the above answer, use these tips:

  • Create a bat file with the following and run it. This bat file will solve most of your adb problems.

tskill adb

cd \tools\

adb kill-server

adb start-server

ddms

  • Use the command netstat to monitor the state of connections (adb uses 5037)

  • If the bat file doesn't work try: disconnect-reboot phone-connect. (hint: use `adb reboot' if adb is responding at all, if not do it the old fashioned way)

  • Sometimes Windows can be funny. Reboot the machine.

  • Turn on USB Debugging Mode

    • Download the Android SDK and unzip
    • Uninstall all "Android *" from Device Manager
    • Do an "Add Hardware" from Control Panel, choosing "Install the hardware... (Advanced)"
    • Select "Android USB Devices" and click "Next"
    • Click "Have Disk" and enter the path where the SDK was unzipped
  • Still not working ? Factory reset the phone.

  • MTP detection delays ADB. Sometimes you if need boot time logs you may have to disable the MTP driver in Device Manager (Windows)


This is a brilliant patch for adb when you get the error :

Adb connection Error:An existing connection was forcibly closed by the remote "

like image 59
Reno Avatar answered Sep 20 '22 15:09

Reno