I am new to android programming. I was referring google developer website to learn android. While I was running an application UI, I got these errors.
H:\SDK\tools\emulator.exe -avd Nexus_5_API_21_x86 -netspeed full -netdelay none
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
I am using android studio.
I recently faced the same issue, The problem occurs because AVD tries to render graphics using system's graphics card and could not do that either because your system's graphics driver is not up to date or it does not support this so here is the solution.
Step 1:
Step 2:
While configuring new device, use the option "Software - GLES 2.0" for Graphics under "Emulated Performance" category. This option will be seen once you click "Show Advanced Settings" while configuring AVD.
I had a very similar problem on my laptop which runs Windows 10 and has two GPUs: one within the Intel processor and the other is Nvidia. The error appears when the system uses the low performance Intel GPU. I needed to "run" Android Studio with "High performance NVIDIA processor" Most of the programs can be run with NVIDIA by right clicking the application link and then "Run with graphics processor" and then "High-performance NVIDIA processor"
Unfortunately this didn't work with the Android Studio application link for me. I had to go to Settings > Display > Graphics settings > Browse and then choose the Android Studio executable (studio and then studio64, I did it for the both of them) Then the application appear just under the Browse button, select the application, then Options, then select High performance.
I just ran into this, and it was because I running via Windows Remote Desktop. When I logged on locally it worked fine.
Make sure that you run your AVD manager not from eclipse go to installed directory that is android/AVD manager.exe and right click run as administrator and then make changes.