Reputation: 1503
I am unable to start my emulator on Android Studio 2.1 and getting the following error:
Cannot launch AVD in emulator.
Output:
emulator: WARNING: Increasing RAM size to 1024MB
init: Could not find wglGetExtensionsStringARB!
getGLES1ExtensionString: Could not find GLES 1.x config!
emulator: WARNING: VM heap size set below hardware specified minimum of 48MB
Failed to obtain GLES 1.x extensions string!
emulator: WARNING: Setting VM heap size to 256MB
Hax is enabled
Hax ram_size 0x40000000
HAX is working and emulator runs in fast virt mode.
Could not initialize emulated framebufferaudio: Failed to create voice `goldfish_audio_in'
qemu-system-i386.exe: warning: opening audio input failed
console on port 5554, ADB on port 5555
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
Getting same error in the console of AVD
I am trying to run with this following configurations :
My android-studio has the following details:
Any help will be appreciated.
Upvotes: 2
Views: 21077
Reputation: 141
Select AVD manager Edit Your Virtual Devices Select Graphics to Software-GLES 2.0
Upvotes: 0
Reputation: 576
Step1: Try enabling the device frame. (This Worked for me.)
Step2: If this doesn't work, either change version to lollipop or try giving Ram 2Gb.
Step3: if this still doesn't work, change graphics to Software instead of automatic.
Note:Please check on right side whether Hax file is downloaded while creating new virtual device.
Upvotes: 1
Reputation: 693
I face the same problem and this is how I resolved it
Upvotes: 1
Reputation:
Upvotes: -1