2013-07-06 57 views
-2

我试图在我的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

'[2013-07-06 15:52:41 - Emulator]分配内存失败:8' –

回答

0

您为AVD分配了多少内存?有时使用最多1 GB时会出现问题。尝试减少内存到512 MB或更低,并看看是否有帮助。来自Google:“在Windows上,模拟大于768M的RAM可能会失败......如果模拟器无法启动,请尝试逐渐减小的RAM值。”

相关问题