When I try to test my Android application with an android emulator as always I now suddenly get an error message. I'm working with Windows 8. So far I tried the following things which unfortunately could not solve the problem:
furthermore I unsuccessfully tried out some advice from Mr. Google:
The only thing I can remember doing which may have destroyed adb on my computer for all times: I connected my motorola smartphone to my laptop and installed the motorola usb drivers but as I said the adb also won't work with the emulator.
Any help would be kindly appreciated. The issue bothers me for more than an entire day now. Maybe someone had similar problems on Windows 8 ?
To stop the adb server, use the adb kill-server command. You can then restart the server by issuing any other adb command.
Can you try to restart the adb server via Tools -> Android -> Restart Adb Server? It might be worth updating the Android platform-tools on your computer manually using the SDK manager to the latest version. You might have an old version of adb that is failing in some way.
On OSX helped:
Kill all processess using 5037 port
sudo lsof -i |grep 5037
sudo kill PID_NUMBER
Run adb devices from console
adb devices
Meanwhile the emulator is working again. I cannot definetly say what solved the problem. What It could be a combination of two things:
Finally it could be a Windows 8 issue which I don't understand.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With