[android Emulator] Failed to allocate memory: 8 解決方法

[2012-07-23 21:31:37 - Emulator] Failed to allocate memory: 8
[2012-07-23 21:31:37 - Emulator] 
[2012-07-23 21:31:37 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2012-07-23 21:31:37 - Emulator] Please contact the application's support team for more information.

1.檢查環境變量中Android_SDK_HOME是否正確
2. 
     1)關閉eclipse
     2)進入cmd,執行命令adb kill-server,打開eclipse,執行,看是否生效
3.進入eclipse-windows->AVD Manager,選擇虛擬機,點擊Edit,
   設置device ram size 爲1024
4.如果以上還不好,設置Built-in 爲默認值
   當分辨率設置過大的時候,也會出現內存分分配不足。(這是本人運行錯誤的原因,使用800*1280的分辨率,而內存只分配了200M)
轉自:http://heiding215.blog.163.com/blog/static/34630268201262410944111/
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章