Android 4.0模拟器崩溃;虚拟机永远无法完成 Mac 上加载的操作系统
我在使用 Android 4.0 虚拟机时遇到问题。我使用的是 Mac OS 10.6 并使用 Eclipse 插件。每次我尝试启动虚拟设备时,都会出现加载屏幕,但它从未真正启动。
我把它搁置了 30 分钟,但这并没有帮助。
我在使用 2.3.3 (Gingerbread) 和虚拟机时没有遇到任何问题。我将虚拟机的目标设置为 4.0,并使用默认设置提供了充足的内存(我认为?)。我使用 sdk 管理器下载并安装我需要的所有内容,至少是每次更新。
这是控制台的内容;第一行看起来令人担忧:
[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
操作系统最终会变慢,并杀死虚拟机。关于如何让它发挥作用有什么想法吗?现在我要回到 2.3.3,但我真的很想为 4.0 编程。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SuperUser 的这个问题包含与您类似的问题描述。还有一个答案可能会对您有所帮助...
https://superuser. com/questions/74065/android-sdk-emulator-freezes-on-a-mac-running-os-x-10-6-snow-leopard
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