Search code examples
androidandroid-emulatorosx-snow-leopardandroid-4.0-ice-cream-sandwich

Android 4.0 emulator crashes; Virtual Machine never finishes loaded OS on Mac


I am having an issue with the Android 4.0 virtual machine. I am on Mac OS 10.6 and using the Eclipse plug-in. Every time I try to start the virtual device, the loading screen comes up, but it never actually starts.

I left it alone for 30 minutes, and that did not help.

I have not had any trouble with 2.3.3 (Gingerbread) and the virtual machine. I set my target for the virtual machine to 4.0, and I gave ample memory (I think?) by using the default settings. I used the sdk manager to download and install everything I need, at least every update.

Here is what the console says; the first line looks worrysome:

[2011-11-05 21:47:40 - SDK Manager] Warning: Ignoring platform '.DS_Store', not a folder.

[2011-11-05 21:48:38 - SDK Manager] Updated AVD 'TestPhone2' based on Android 4.0, ARM (armeabi-v7a) processor,

[2011-11-05 21:48:38 - SDK Manager] with the following hardware config:

[2011-11-05 21:48:38 - SDK Manager] hw.lcd.density=160

[2011-11-05 21:48:38 - SDK Manager] hw.keyboard.lid=no

[2011-11-05 21:48:38 - SDK Manager] vm.heapSize=48             

[2011-11-05 21:48:38 - SDK Manager] hw.ramSize=512      

The OS eventually slows, and kills the virtual machine. Any thoughts on how I can get this to work? For now I am moving back to 2.3.3 but I would really like to program for 4.0.


Solution

  • This question over at SuperUser contains a similar problem description as yours. There's also an answer posted which may help you...

    https://superuser.com/questions/74065/android-sdk-emulator-freezes-on-a-mac-running-os-x-10-6-snow-leopard