Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

could not find wglGetExtensionsStringARB

Android Studio 2.1.2 under Windows 10 professional - 4GB RAM HD 500GB

Getting Message:

init: could not find wglGetExtensionsStringARB!

emulator: WARNING: Setting VM heap size to 256MB

getGLES1ExtensionString: Could not find GLES 1.x config!

Hax is enabled

Failed to obtain GLES 1.x extensions string!

Hax ram_size 0x30000000

HAX is working and emulator runs in faast virt mode.

console on port 5554, ADB on port 5555

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

Could not initialize emulated framebuffer

How to solve this problem?

like image 895
Marco Avatar asked Nov 28 '22 06:11

Marco


2 Answers

I experienced the same issue on Windows 10.1. To fix:

  1. Update your system display drivers.
  2. Restart computer.
  3. Retry emulator.
like image 38
Khol Persaud Avatar answered Nov 30 '22 20:11

Khol Persaud


  1. Go to AVD Manager.
  2. Edit Virtual Device you create (for example: Nexus_5_API_24 ).
  3. Click Advance Settings button.
  4. In Emulated Performance row change Graphics to Software GLES 2.0
  5. In Memory row change RAM field to 512.
  6. finish.

perhaps it will solve your problem such in my case.

enter image description here

like image 63
wasfalg Avatar answered Nov 30 '22 18:11

wasfalg