4

Whenever I run virtual emulator to test my code on android studio system starts hanging very much and then it runs the virtual device with

ERROR: AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037

And I am unable to test my code.

Also my system specs are i5 7th generation and 4GB RAM. What could be the reason for system getting hang or it is due to the above error?

5

You need to first run adb start-server and then run emulator -avd <avd_name>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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