Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running AVD is giving error

Command I'm running:

C:\Users\bhaishaki\AppData\Local\Android\sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5_API_22_x86
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
getGLES1ExtensionString: Could not find GLES 1.x config!
Failed to obtain GLES 1.x extensions string!
Could not initialize emulated framebuffer
like image 633
Emran Hosen Avatar asked Nov 30 '22 00:11

Emran Hosen


1 Answers

If you're using Android Studio, launch the AVD Manager, edit the Nexus AVD (ie. click the pencil icon), and in the resulting window, uncheck the "Use Host GPU" checkbox.

That fixed the error for me and allowed me to launch the emulator from Android Studio.

like image 141
bchintx Avatar answered Dec 05 '22 19:12

bchintx