Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while waiting for device: Timed out after 300seconds waiting for emulator to come online

I have been trying to use android studio emulator but I can not run my App on the Emulator. When I Run my App it shows the emulator with following details:

  • Hax is enabled

  • Hax ram_size 0x40000000

  • HAX is working and emulator runs in fast virt mode.

  • Console on port 5554; ADB on port 5555

After that it takes to next TAB Launching app and shows waiting for the device to come online. After that it shows error:

Error while waiting for device: Time out after 300 seconds waiting for emulator to come online.

Anyone know any solution.

like image 364
Habibul Bashar Avatar asked Jul 14 '16 06:07

Habibul Bashar


1 Answers

Although there could be various reasons for this behaviour.... Mostly it may be due to error in system images or the API version you are using

better you download latest system images and make sure the compatibilty of API version you are using.

enter image description here

If problem exists

I would like to suggest some fixes: Try them

1)Uninstall/Reinstall Android SDK to folder.

OR

2) delete the emulator and create another emulator targeted at the appropriate API Level.

OR

3)create a new Virtual Device.

OR

4)set "Max VM application heap size" hardware property to 192 or higher and pick the QVGA skin.

hope it helps.

like image 99
eRaisedToX Avatar answered Sep 26 '22 02:09

eRaisedToX