Every day when I start up my Android Studio and start running the emulator, it builds, then goes on saying:
waiting for all devices to come online
and then gives this error:
Error while waiting for device: Timed out after 300seconds waiting for emulator to come online.
I reinstall my Emulator and then it works until the end of the day. The next day the same.
Did anyone else have this problem and found a solution?
3
Answers
Solved the issue by ticking "Use libusb backend"
Just in case this helps anyone
See screenshot: https://i.stack.imgur.com/2T77l.png
Try to bring up the Emulator from AVD manager then when device is up click the play button.
Also update the Studio there could be some problem with your version.
The error of already started emulator can be solved by deleting the file with .LOCK extension in the path C:Users[your username].androidavd[your virtual device name.avd]
Before deleting the lock file you need to close android studio since the lock files is being used by android studio.
The time out error is solved in my case by wiping the data. But this option should be used in case of using virtual devices only.