Hi all,
I'm not a programmer but decided to have a go at setting up the Android SDK as it interests me. Following the guides on the Android dev site it has mostly been fine. The one thing that won't work though is ADB, the Android Debug Bridge that's required for an emulated device.
The error is:
Code:
* daemon not running. starting it now on port 5037 *
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
You might think (and Googling suggested) something is already running on that port, but a netstat suggests otherwise. top shows no instances of any Android tools running. I tried re-installing the platform-tools and running it as root even though that seemed illogical. Nothing.
Switched from OpenJDK to SunJDK in case that made a difference. The problem persists across reboots.
All of my Google hits have been for people with something bound to that port or with PATH problems, but I really can't see how that's possible here. Also, I have no ufw or iptables setup that should interfere with the port. Unless there's some other reason that port can't be opened...
Any ideas?
Bookmarks