我已经安装了eclipse和android sdk管理器,在sdk中安装了android 4.22的文件并尝试运行示例android项目..但是我收到以下错误
[2014-02-06 15:28:08 - myFirstApp] Android Launch!
[2014-02-06 15:28:08 - myFirstApp] adb is running normally.
[2014-02-06 15:28:08 - myFirstApp] Performing com.example.myfirstapp.MainActivity activity launch
[2014-02-06 15:28:08 - myFirstApp] Automatic Target Mode: launching new emulator with compatible AVD 'AVD_233'
[2014-02-06 15:28:08 - myFirstApp] Launching a new emulator with Virtual Device 'AVD_233'
[2014-02-06 15:28:17 - Emulator] Failed to allocate memory: 8
[2014-02-06 15:28:17 - Emulator]
[2014-02-06 15:28:17 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2014-02-06 15:28:17 - Emulator] Please contact the application's support team for more information.
我试过以下......
1) accessed C:\Users\user\.android\avd\user.avd\config.ini and changed hw.ramSize=1024MB
2)accessed avd and edited memory optionfrom 1024mb s to 512mb
它还没有工作......提前谢谢..
答案 0 :(得分:0)
尝试将RAM设置为512 MB。它为我工作..
如果它不适合您,请尝试进一步减少RAM和VM堆。
首先尝试使用一些LDPI模型(2.7英寸)的模拟器..