CandleCoder
CandleCoder

Reputation: 1503

Unable to start emulator on Android Studio 2.1

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 : Emulator Config

My android-studio has the following details: About android studio

Any help will be appreciated.

Upvotes: 2

Views: 21077

Answers (4)

RAHINUR RAHMAN
RAHINUR RAHMAN

Reputation: 141

Select AVD manager Edit Your Virtual Devices Select Graphics to Software-GLES 2.0

Upvotes: 0

Hargun Singh
Hargun Singh

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

Babajide Apata
Babajide Apata

Reputation: 693

I face the same problem and this is how I resolved it

  1. Select your AVD manager
  2. Select your device from the list of your virtual devices
  3. Click Edit this device information
  4. Click show advance settings
  5. Change the Ram size to 1 GB and click finish
  6. launch your emulator

Upvotes: 1

user5248371
user5248371

Reputation:

Upvotes: -1

Related Questions