When I want to test an app in Eclipse (in an AVD), it throws out the following:

The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at 'C:\Users\[...]\sdk\platform-tools\adb.exe' and can be executed.

The problem is, the file is actually there and CAN be executed. When I open cmd and go to that path and type "adb start-server", I get following error message:

* daemon not running. starting it now on port 5037 *
CreateProcess failure, error 5
* failed to start daemon *

After a reboot, process kill, reinstalling Eclipse and all SDKs, trying without antivirus, the problem still persists. I've also looked up the port 5037, which is not blocked by any program.

  • I have UAC turned on, but I also tried it in a CMD with admin privileges. The solution from "bmdixon" actually worked, thanks anyway. – Aenadon Jul 8 '14 at 11:46
up vote 1 down vote accepted

This answer on stack overflow suggests that it could be a permissions issue, the user that is attempting to start the adb server cannot access the file. Could you try moving the sdk to a folder that is not within your users area and see if you can start it then?

  • wow. I'm speechless. Wouldn't have thought it's something that simple. Thank you! – Aenadon Jul 8 '14 at 11:44

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.