If you use Android Studio, launch AVD Manager, edit the Nexus AVD (ie, click the pencil icon), and in the window that appears, uncheck the "Use the main GPU" box.
This fixed the error for me and allowed to run the emulator from Android Studio.
source
share