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

前端 未结 8 1705
星月不相逢
星月不相逢 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 10:07

    After Android Studio is installed

    In CMD (Run As Admin) execute this command (Emulator should be closed):

    //if it's installed on D:, at first, "cd" to that drive, like  "D:"
    cd "%ANDROID_SDK_HOME%\sdk\extras\intel\Hardware_Accelerated_Execution_Manager"
    silent_install.bat -m 1024
    

    this will set HAXM memory to 1024Mb (max 1800). Set RAM parameter in VDM slightly below this value, like 980

    If you are using Mac OS then use navigate to path //Library/Android/sdk/extras/intel/Hardware_Accelerated_Execution_Manager and execute sudo ./silent_install.sh -m 1024

提交回复
热议问题