我已经安装了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 它还是不能工作...提前谢谢..
发布于 2014-02-06 20:16:27
尝试将RAM设置为512MB。它对我很有效..
如果它对您不起作用,请尝试进一步减少RAM和VM堆。
首先尝试使用一些LDPI型号(2.7英寸)的仿真器。
https://stackoverflow.com/questions/21599726
复制相似问题