EGL_emulation failed to establish connection to host - android

Solution 1:

This happens to me when my computer came out standby. Restart your virtual device.

Solution 2:

I was having the same problem in my Genymotion emulator while running a webview based application,I have restarted the emulator and it worked fine