Windows 7 64bit android AVD start error:Failed to allocate memory: 8

后端 未结 5 2104
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-07 03:34

I just updated to Android SDK Tools r20, and try to create avd base on android 4.1 and WXGA, but I got error message when I start AVD.

config.ini:

hw.mai         


        
5条回答
  •  礼貌的吻别
    2021-02-07 04:05

    This seems to be a problem with SDK Tools r20, in which the amount of RAM can not be set from the AVD Manager for the WXGAxxx skins (and the default 1024 MB is too much for the 32 bit emulator).

    Workaround

    You can work around the issue by starting the AVD from the command line, and hard set the amount of memory to something lower:

    > cd c:\program (x86)\android\android-sdk\tools\
    > emulator @android4.1 -memory 896
    

    The above command line will set the amount of memory to 896 MB for the AVD. This bug can be followed here: http://code.google.com/p/android/issues/detail?id=36080

提交回复
热议问题