2013-07-06 58 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值。」

相關問題