Android studio emulator fails to start with memory limit related error message

前端 未结 8 1628
星月不相逢
星月不相逢 2020-12-09 09:45

I\'m trying to run my first android studio project but I get this error message and the emulator doesn\'t start :

Created filesystem with 11/4224 inodes and          


        
相关标签:
8条回答
  • 2020-12-09 09:50
    • From Android studio open Windows->Select Android Virtual Device Manager->Chose your device->Click Edit button->Change the RAM parameter to 512 Mb in the Memory Options->Save and run the emulator it will work
    • Else you may use Genymotion Android Vm: https://www.genymotion.com/?utm_source=dlvr.it&utm_medium=twitter#!/download
    0 讨论(0)
  • 2020-12-09 09:50

    In my case, this issue happened when I click run twice unintentionally from AVD manager. I resolved this issue by killing the running instance from taskmanager (qemu-system-i386.exe).

    0 讨论(0)
  • 2020-12-09 09:56

    Try restarting your computer!

    I was just wrestling with this problem and after an hour of scouring the web to no avail I tried restarting my computer and the problem was resolved.

    0 讨论(0)
  • 2020-12-09 09:57

    It seems that the AVD does not like to set the memory in GB. If it does not save the new setting in GB change it to MB.

    0 讨论(0)
  • 2020-12-09 10:01

    I tried the above answers in Android Studio 3.0, but it seems AS 3.0 doesnt allow to change in the IDE screen, or not sure it was some problem with my installation. So I opened the AVD in disk and opened the config.ini, and changed the ramsize there. It worked.

    0 讨论(0)
  • 2020-12-09 10:03

    In Android Studio, version 1.2.1.1:

    Go to "Tools -> Android -> AVD Manager -> Chose your device -> Edit -> Advanced Settings -> Change the RAM parameter to 512 Mb.

    Save it, and run the App in the Emulator. It should run now.

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