我正在尝试在我的Droid Razor上运行我的第一个应用程序,这是我得到的错误。以下是代码
[2013-07-06 15:52:34 - MyFirstApp] ------------------------------
[2013-07-06 15:52:34 - MyFirstApp] Android Launch!
[2013-07-06 15:52:34 - MyFirstApp] adb is running normally.
[2013-07-06 15:52:34 - MyFirstApp] Performing com.example.myfirstapp.MainActivity activity launch
[2013-07-06 15:52:34 - MyFirstApp] Automatic Target Mode: launching new emulator with compatible AVD 'NexusS'
[2013-07-06 15:52:34 - MyFirstApp] Launching a new emulator with Virtual Device 'NexusS'
[2013-07-06 15:52:41 - Emulator] Failed to allocate memory: 8
[2013-07-06 15:52:41 - Emulator]
[2013-07-06 15:52:41 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2013-07-06 15:52:41 - Emulator] Please contact the application's support team for more information.
答案 0 :(得分:0)
您为AVD分配了多少内存?有时,使用最多1 GB时会出现问题。尝试将内存减少到512 MB或更低,看看是否有帮助。来自Google:“在Windows上,模拟大于768M的RAM可能会失败...如果模拟器无法启动,请尝试逐渐减小RAM值。”