Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I have been trying to use android studio 2.0 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 0x800000000

  • 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 300seconds waiting for emulator to come online.

What I have tried so far.

  • Installed fresh android studio 2.0 with all update to date SDK
  • Tired to increase Emulator Memory.
  • Installed android studio 2.1 Beta with latest SDK
  • Discussed this issue on Google.

Anyone know any solution.

Thanks in advance.

Edit

I haven't found any solution yet. I opened new issue on 4th may 2016 because it is known bug in previous versions. Please report on the following link if you have same issue.

https://code.google.com/p/android/issues/detail?id=209095

like image 887
user1154390 Avatar asked Apr 17 '16 11:04

user1154390


People also ask

How do I connect my emulator to the Internet?

Go to your Android\Sdk\emulator folder and open command prompt. Type emulator -list-avds to see available emulator names. Type emulator -avd name-of-your-device -netdelay none -netspeed full -dns-server 8.8. 8.8 command and press enter.

How do you exit an instance of an emulator?

To stop a running emulator, click Menu and select Stop.


1 Answers

The solution for me was setting the Graphics option on the Android Virtual Device to Software instead of Automatic or Hardware.

I believe this was the solution because I am working on a windows machine that did not have a dedicated graphics card.

like image 119
jlars62 Avatar answered Sep 23 '22 04:09

jlars62