Error while waiting for device: Timed out after 300seconds waiting for emulator to come online
<p>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:</p>

<ul>
<li><p>Hax is enabled</p></li>
<li><p>Hax ram_size 0x40000000</p></li>
<li><p>HAX is working and emulator runs in fast virt mode.</p></li>
<li><p>Console on port 5554; ADB on port 5555</p></li>
</ul>

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

<pre><code>Error while waiting for device: Time out after 300 seconds waiting for emulator to come online.
</code></pre>

<p>Anyone know any solution.</p>