Android: failed to allocate memory

后端 未结 12 1986
臣服心动
臣服心动 2020-11-27 16:12

I\'m trying to create an emulator with 2047 mb ram. When I run it, I get this error:

[2011-02-22 14:24:14 - Emulator]
[2011-02-22 14:24:14 - Emulator] This a         


        
12条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 16:58

    I was also getting this error message after upgrading my Android ADK Tool to 20 (even though I have more than sufficient RAM). No changes made to the 'Device RAM size' property helped (whether higher or lower, or with "MB").

    What did work for me is running the emulator at the command line and specifying the RAM amount there (less than the default in my case); for example:

    emulator -memory 512 -avd my_avd
    

提交回复
热议问题