I am using Android Studio in a virtual machine vmware , the machine I have configured it as in some tutorials indicated with the option in the processor Virtualize Intel VT -x/EPT or AMD-V/RVI
.
I have installed version 3.0.1 of Android Studio. I have the following packages installed in the SDK.
When I start any AVD it always returns the same error (except in one case).
This is what the Event log of Android Studio tells me
13:33 Emulator: init: Could not find wglGetExtensionsStringARB!
13:33 Emulator: getGLES2ExtensionString: Could not find GLES 2.x config!
13:33 Emulator: Failed to obtain GLES 2.x extensions string!
13:33 Emulator: Could not initialize emulated framebuffer
13:33 Emulator: emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
13:33 Emulator: Process finished with exit code -1073741819 (0xC0000005)
And this is shown when the ADD crashing
Android Emulator closed because of an internal error:
OpenGLES emulation failed to initialize.
If I show the details, it tells me the following:
Operating system: Windows NT 6.1.7601 Service Pack 1 CPU: amd64 family 6 model 42 stepping 7 1 CPU
Crash reason: EXCEPTION_ACCESS_VIOLATION_WRITE Crash address: 0x0 Assertion: Unknown assertion type 0x00000000 Process uptime: 1 seconds
I have set up 3 different AVDs with different solutions that I found on the network.
Two AVDs have the CPU as ARM
and another one has it as x86
one of the ARM
has the option of Graphics
in Automatic
and the other one has it in GLES 2.0
. The AVD with CPU in x86 does not allow me to change the option of Graphics
so it is in Automatic
.
All these configurations give the same error, finally I tested with the option Graphics
in GLES 1.1
. In this case, the emulator does not crash or the Event log shows errors, with this configuration the emulator freezes and the screen remains black.
I have also tried other solutions indicated in the network as: "Change the resolution of config.ini
of the ADL" and "change the size of the memory in config.ini
"
I add that when the emulation freezes, it shows me the following warning:
performing clean boot snapshot does not exist
The supposed solution to this last problem is to disable the start of the emulator from snapshot, I do not find this option anywhere (the routes that normally indicate are from previous versions).