emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it

opengles emulation failed to initialize visual studio
emulator: init: could not find wglgetextensionsstring
emulator: process finished with exit code -1073741819 (0xc0000005)
emulator: warning: could not initialize opengles emulation, using software renderer
emulator: dsound: could not initialize directsoundcapture
android emulator can t change emulated performance
android emulator emulated performance
emulator querycoreprofilesupport swap interval not found

I am running the same code from https://github.com/google/gcm with no customization yet. I used Android Studio 1.2.2 and JDK 1.8 and imported the project and when I run it wait for 5 mins then I see the following error.

I did search the web and I find very similar error but not exact on the Could not run Android emulator as could not initialize emulated framebufferHAX in Windows 7.

The error snippet for reference

C:\....\...\AppData\Local\Android\sdk\tools\emulator.exe -avd Nexus_5_API_22_x86 -netspeed full -netdelay none
Creating filesystem with parameters:
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
    Size: 69206016
    Block size: 4096
could not get wglGetExtensionsStringARB
could not get wglGetExtensionsStringARB
    Blocks per group: 32768
could not get wglGetExtensionsStringARB
    Inodes per group: 4224
could not get wglGetExtensionsStringARB
    Inode size: 256
    Journal blocks: 1024
could not get wglGetExtensionsStringARB
    Label: 
could not get wglGetExtensionsStringARB
getGLES1ExtensionString: Could not find GLES 1.x config!
    Blocks: 16896
    Block groups: 1
Failed to obtain GLES 1.x extensions string!
    Reserved block group size: 7
Could not initialize emulated framebuffer
Created filesystem with 11/4224 inodes and 1302/16896 blocks
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

If you are using Android Studio, the GPU can be disabled from the advanced settings from the AVD Manager.

Hoping this will help.

ERROR: Could not initialize OpenglES emulation, use '-gpu off', emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. I am running the same code from https://github.com/google/gcm with no customization yet. I used Android Studio 1.2. 2 and JDK 1.8 and imported the project and when I run it wait for 5 mins then I see the following error. Could not initialize OpenglES emulation, use '-gpu off' to disable it. This means that the Android Emulator tries to use OpenglES, but it does not work. OpenglES is needed for rendering 2D and 3D computer graphics. There are 2 ways to resolve the issue: 1) install an OpenGL implementation. e.g. on Ubuntu 16.04, I have installed Mesa


It could be due to device resolution incompatibility. Try reducing the avd resoultion to 1280X720 or lower

emulator: ERROR: Could not initialize OpenglES emulation, use , Cannot launch AVD in emulator. Output: init: Could not find wglGetExtensionsStringARB Duration: 2:25 Posted: Sep 14, 2017 Could not initialize OpenglES emulation, use '-gpu off' to disable it.


Go to AVD Manager. Edit your AVD. Select 'Software GLES2.0' option on Emulated Performance. (The reason is because some users did not install graphic video card drivers ) Click Finish (Save). Start AVD again.

Could not initialize OpenglES emulation, use '-gpu off' to disable it , Could not initialize OpenglES emulation, use '-gpu off' to disable it. Can someone explain what does it exactly mean and how can I fix this error? I'm getting it while 1>C:\PROGRA~2\Android\ANDROI~1\tools\emulator. emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it on android 2:25. Android ADV - Emulator: ERROR: x86 emulation currently requires hardware acceleration


If you don't have GPU or Graphics card in your system Follow below steps :

Just edit the emulator configurations -> click on Show Advanced Setting Select Graphics : Software- GLES 2.0

just save the changes and restart AVD.

Emulator not launching., emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. Posting to the forum is only allowed for members with  Android Emulator is not working in Android Studio - giving message Could not initialize OpenglES emulation, use '-gpu off' to disable it


on windows systems:

edit config file for virtual device

e.g.: C:\Users.android\avd\Nexus_7_API_17.avd\config.ini

... hw.gpu.enabled=no ...

When I tried to run the project, It shows an error, recentered emulator: ERROR: Could not initialize OpenglES emulation, use '-​gpu off' to disable it. Could not initialize emulated framebuffer  Getting past the ‘Could not initialize OpenglES emulation, using software renderer’ error. If you are new to Android, and you’re building your ‘Hello World’ app, you’re going to reach the point where you want to view your shiny new app in the emulator. And if you’re lucky, everything will go smoothly.


Emulator will not run., 05:36 PM Emulator: emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. 05:36 PM Emulator: Process  The emulator wasn't able to use OpenGL ES emulation on your PC. As the message says, you can disable it using the command-line, or by turning off the "Use Host GPU" option in the emulator's settings dialog, but then the emulator will be very slow. It would be better to run your app on a real phone.


Configure hardware acceleration for the Android Emulator, 1>emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. 1>Emulator Android_Accelerated_x86_Nougat cannot 


Discover how the Android Emulator can use hardware acceleration features to Android devices use OpenGL for Embedded Systems (OpenGL ES or GLES) for can specify whether the emulator should use hardware or software to emulate When this occurs, there is no error returned by the Windows OS and Hyper-V