title: Android: Timed out error while waiting for emulator to come online in mac?
body: <p>I found a related <a href="https://stackoverflow.com/questions/11115899/failed-to-install-due-to-timeout-in-emulator">post</a>. I have a simple app that displays a button on screen. I use Mac OS, latest android studio, and Java 8. I can launch android without the app, but get <code>Android: Timed out after 300seconds waiting for emulator to come online</code> error with the app. The simulator setting is 1 GB RAM, 512 VM heap, Nexus 5X, marshmallow (android 23). How can I identify the problem and get app to run without reinstall everything?</p>
  
  <p>From console:</p>
  
  <pre><code>/Users/me/Library/Android/sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_5X_API_23
  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
  </code></pre>
  
  <p>From app console: </p>
  
  <pre><code>06/10 19:25:48: Launching app
  Error while waiting for device: Timed out after 300seconds waiting for emulator to come online.
  </code></pre>