1

I am frequently getting error in emulator starting and launching.

I am using MacOS High Sierra Version 10.13 (17A405)

Rarely creating new emulator working but not all the time.

The error I am getting is added as image.enter image description here

Abish R
  • 1,537
  • 3
  • 18
  • 36
  • Happened with me once too. Ended up having to make a new one, not sure why it happened though – Zoe Nov 16 '17 at 07:27
  • Now I have created new Emulator three times, still I am facing the same issue. – Abish R Nov 16 '17 at 07:29
  • 1
    Recreating emulators did not resolve this for me. This link proposes to have a solution. I have not tried it yet though. https://stackoverflow.com/questions/46981033/emulator-not-starting-after-updating-to-android-studio-3-0 – running-codebase Nov 28 '17 at 03:33
  • 1
    Thanks @running-codebase. I have fixed it. It is because of RAM. – Abish R Nov 29 '17 at 08:35

1 Answers1

0

The issue is caused because of less RAM. My total RAM is 8GB. I configured Android studio with some settings in vm virtual options to increase the performance. With that settings, the Ram used by Android studio is 4GB. Additionally few other apps are also accessing the RAM and the emulator didn't get enough RAM to run. So it crashed.

If this issues comes at your end,

  1. Try restarting the emulator.
  2. Try restarting the Android studio.
  3. Try to create new emulator and start.
  4. kill adb and start back again.
  5. Still the issue exist, might be because of RAM. If the RAM is ok to run, then restart your system will fix the issue.
Abish R
  • 1,537
  • 3
  • 18
  • 36