Android 4.0.3 emulator crashes: Failed to allocate memory: 8

后端 未结 7 1200
Happy的楠姐
Happy的楠姐 2021-02-04 03:56

The problem started when I changed the skin built-in display setting to WXGA720. Then everytime I\'m trying to run the emulator it says the following message:

相关标签:
7条回答
  • 2021-02-04 04:25

    I had the same problem. I have set the resolution manually to 720 X 1280. Set the RAM size as 128MB and SSD to 16 MB. The app came up without any problems after that

    0 讨论(0)
  • 2021-02-04 04:30

    This may sound silly, but I resolved the issue by adding "MB" after the RAM setting, changing (for example) 1024 to 1024MB.

    0 讨论(0)
  • 2021-02-04 04:39

    I also faced the same problem for x86 emulator for android 4.0.3. This problems happens to me only when i try to launch emulator from eclipse. But works fine when i launched the emulator from command line. Try to launch the emulator from command line.

    Go to android tool directory and use "emulator -avd " to launch your emulator.

    0 讨论(0)
  • 2021-02-04 04:39

    I had the same problem, trying to emulate the Galaxy S3. Setting the resolution to 720 x 1280 and dropping ram from 1024 to 700 worked for me. Could't get it to work at all on the built in wxga720 settings.

    0 讨论(0)
  • 2021-02-04 04:42

    I figured it out. The problem was in the amount of ram I had specified for the virtual machine, and it was 1024MB, now I have 512MB and it is ok. enjoy ;)

    0 讨论(0)
  • 2021-02-04 04:48

    I was with the same problem today, but I manage how to solve it ( at least for me, because I was doing it in the wrong way), hope that it can be usefull for you too.

    I was trying to change de Device RAM memory direct by Eclipse via Android Virtual Device Manager. I don't know why, but this changes does not affect the "hardware.ini" file that is present in : \android-sdk\platforms\android-16\skins\WXGA800-7in , for example. To change the device RAM, or just to add MB you need to change this file.

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