[android-studio] Error while waiting for device: Time out after 300seconds waiting for emulator to come online

This error is gone for me by remove the AVD and create a new one.

after some compile and clean, the error was gone away.