I'm using android studio 3.0.1, when I start my emulator I get many error messages, I've tried to solve each problem separately, I also searched a lot but nothing works for me.
12:24 م Emulator: init: Could not find wglGetExtensionsStringARB!
12:24 م Emulator: OpenGL backend 'angle' without OpenGL ES 1.x library
detected. Using GLESv2 only.
12:24 م Emulator: Failed to eglInitialize
12:24 م Emulator: Could not initialize emulated framebuffer
12:24 م Emulator: Warning: requested RAM 1024M too high for your system.
Reducing to maximum supported size 512M
12:25 م Emulator: emulator: ERROR: Could not initialize OpenglES emulation,
use '-gpu off' to disable it.
12:25 م Emulator: Process finished with exit code -1073741819 (0xC0000005)
I also tried this
Make sure your graphics driver is updated
- Go to tools
- Go to Android
- Select AVD Manager.
- click on the pencil icon in under Action
- Click Advanced Settings button.
- In Emulated Performance row change Graphics to Software GLES 2.0
- In Memory, row change RAM field to 512(minimum).
I just fixed almost all problems when I deleted my graphics driver and updated it again, but now when I open my Emulator again, it gives me this message:
enter image description here
after that comes this error:
enter image description here
I modified the avd config file and solved a similar problem.
- find your avd folder.(If your using Windows OS, the default path is
C:\Users\USER_NAME\ .android\avd\YOUR_VIRTUAL_DEVICE_NAME.avd
)
- open the file
config.ini
- find
hw.gpu.mode
and set it to off
(hw.gpu.mode=off
)
- launch the AVD manager
- launch your virtual device.
check in your emulator setting Use Host GPU
enabled shown in below image
this will you get Android Studio -> Tools -> Android -> AVD Manager
here
I faced the same problem. In my case, running Android Studio as an administrator solved the problem.