I have been suffering from this problem for a long time! There is always an inexplicable connection, and sometimes it cannot be connected!
Today, I searched for this problem and found the final solution. This record.
Error message:
When starting, the console prompts an error: ADB server didn 'Tack fail to start daemon
Failed to start daemon
Make sure that there is adb.exe under xxx.pdf
solution: the culprit is probably the pea pod. It is too time-consuming to restart your computer blindly.
1. Open the 'wandoujia_daemon.exe 'Task Manager first!
execute "ADB start-server" in running (WIN + r) (if it is not added to the environment variable, you can skip it! I don't know if this step is needed! Try it first !)
restart eclipse and test whether to connect to ADB.
2. If Step 1 fails. Add environment variables. My computer-> right-click-> properties-> advanced property settings-> environment variables-> path-> edit, add "D: \ androiddeveloper \ Android-SDK-Windows \ tools; D: \ androiddeveloper \ Android-SDK-Windows \ platform-tools ". Repeat Step 1 to restart eclipse and test whether to connect to ADB.