0
我已經在SDK安裝Eclipse和Android SDK中的經理,安裝爲Android 4.22的文件,並試圖運行樣品Android項目..但我得到以下錯誤無法分配內存:8款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
它仍然沒有工作...在此先感謝..
嘗試[Android模擬器無法分配內存8] [1]這將有助於 [1]:HTTP: //stackoverflow.com/questions/11667907/android-emulator-failed-to-allocate-memory-8 –