Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
257 views
in Technique[技术] by (71.8m points)

android - 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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
  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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...