ERROR Android emulator gets killed

前端 未结 30 1685
野趣味
野趣味 2020-11-27 17:46

After updating to Android Studio 2 when I try to run my application and choose an emulator, I wait for the emulator to start and it suddenly gets killed. I can see emulator

相关标签:
30条回答
  • 2020-11-27 18:20

    In android studio version 4.0 (WINDOWS), I could find the solution by just checking android studio welcome screen and clicking on the "Events" dropdown AFTER trying to launch the emulator (hence after getting the error):

    the events section clearly shows that ANDROID_SDK_ROOT was not set in my system.

    In a nutshell, whenever you see such error when starting the emulator, just check the "events" section in the welcome to android studio screen to find the real problem.

    Beware that if ANDROID_HOME is not set properly, it will still tell you that ANDROID_SDK_ROOT is broken.

    0 讨论(0)
  • 2020-11-27 18:21

    goto tools>android>sdkmanager and update emulator and install related API level.It worked for me

    0 讨论(0)
  • 2020-11-27 18:21

    I tried to edit AVD with a new System image and voila! it worked! I had Nexus 5X API 24

    0 讨论(0)
  • 2020-11-27 18:22

    Check the free space of the emulator installation drive is more than 5 GB

    0 讨论(0)
  • 2020-11-27 18:22

    I also had problem like this.. and how i fixed that:

    • 1. I choosed one of the older version for Android VDM(System image) - first,I used a version 28(Oreo i this it was) after that I switched to older one , to 25(Nougat)..

    • 2. I just change "Graphics" to "Software".

    0 讨论(0)
  • 2020-11-27 18:23

    If your HAMX is installed and turning to Software didn't help try to check if virtualization is enabled in BIOS. You need to go to BIOS and enable it

    0 讨论(0)
提交回复
热议问题