0

When I run emulator in android studio it is showing below error

Error while waiting for device: The emulator process for AVD Nexus_5X_API_21 was killed.

pooja gajera
  • 373
  • 4
  • 20
  • try to power of your virtual machine then restart device – Vishal Thakkar Aug 10 '16 at 06:02
  • If not working still then check system image is updated or not.if not then update it. – Vishal Thakkar Aug 10 '16 at 06:05
  • can you post full error message? – Vishal Thakkar Aug 10 '16 at 06:06
  • Check the configuration of your device like ram,graphics. Use a phone with lesser resolution – Arpan Sharma Aug 10 '16 at 06:10
  • Yes actually now I am updating system image. let me tell you after what happens – pooja gajera Aug 10 '16 at 06:18
  • D:\Excel\Android_kit\android-sdk.tar\home\jigar\android-sdk-windows\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_21 init: Could not find wglGetExtensionsStringARB! emulator: WARNING: Crash service did not start getGLES1ExtensionString: Could not find GLES 1.x config! Failed to obtain GLES 1.x extensions string! Could not initialize emulated framebufferWarning: requested ram_size 1024M too big, reduced to 512M – pooja gajera Aug 10 '16 at 06:32
  • emulator: WARNING: Increasing RAM size to 1024MB emulator: WARNING: VM heap size set below hardware specified minimum of 192MB emulator: WARNING: Setting VM heap size to 256MB Hax is enabled Hax ram_size 0x20000000 HAX is working and emulator runs in fast virt mode. console on port 5554, ADB on port 5555 emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it. – pooja gajera Aug 10 '16 at 06:32
  • log is showing all these error – pooja gajera Aug 10 '16 at 06:33
  • ok . now your emulator heap size is low so its give error – Vishal Thakkar Aug 10 '16 at 06:43
  • so what to do now ??? – pooja gajera Aug 10 '16 at 06:48

1 Answers1

0

You should Increase your ADB emulator Heap to the minimum required

Follow steps to increase Heap Size.

enter image description here

enter image description here enter image description here

Vishal Thakkar
  • 2,117
  • 2
  • 16
  • 33