Android 模拟器错误:“系统 UI 已停止"
我最近设置了我的 Android 开发环境.一切都很好,但是当我运行模拟器时,模拟器屏幕上出现错误对话框需要很长时间 - 不幸的是,系统 UI 已停止"并且没有应用程序在其上运行.我最近转移到 64 位 windows7 并使用 JDK7 和 eclipse juno 64 位.我的模拟器配置如下:
I have recently set up my Android development environment. Every thing is alright but when I run my emulator it takes to much time with an error dialog on the emulator screen says- "Unfortunately, System UI has stopped" and no application runs on it. I have recently shifted to 64bit windows7 and using JDK7 and eclipse juno for 64bit. My emulator configuration is given below:
谁能告诉我它有什么问题?
can anyone suggest me what is wrong with it?
推荐答案
这仍然是未答复",但可能已经解决了.
This is still "unanswered", but it probably has been resolved.
我只是想分享我的经验并澄清一些事情,其中一些可能无关紧要.无论如何,如果这对其他人有帮助,那就太好了.
I just want to share my experience and clarify a few things, some of which may not matter. Anyway, if this helps someone else that's great.
在运行 4.0.3 模拟器时,我在一台机器(一台新但速度较慢的机器)上遇到了这个问题,但在另一台机器上(速度较快的机器)没有.但这不是硬件问题,CPU 速度也没有影响.
I had this problem on one machine (a new, but slower machine), but not another (the faster one) when running a 4.0.3 emulator. It is not a hardware problem though, and CPU speed doesn't make a difference.
两台机器都是最新的 ADT(Eclipse 4.2.x 和 Android 4.2.2 (API 17) SDK 环境.
Both machines are fully up-to-date ADT (Eclipse 4.2.x and Android 4.2.2 (API 17) SDK environments.
编辑,甚至删除模拟器,然后重新创建它没有修复它.
Editing, or even Deleting the emulator and then recreating it did NOT fix it.
最好的解决方案是找到并更新 config.ini 文件.在 Windows 7 (x64) 中,我在 %USERPROFILE%.androidavd 中找到了 config.ini 文件.它位于文件夹 ICS_4.0.3_API_15.avd [*请参阅下面的 AVD 名称].
The best solution is to locate and update the config.ini file. In Windows 7 (x64) I found the config.ini file in %USERPROFILE%.androidavd. It was located in a folder ICS_4.0.3_API_15.avd [*see AVD names below].
注意:首先确保您在资源管理器中打开了显示隐藏的文件、文件夹或驱动器",否则您将看不到.android"文件.文件夹.
NOTE: First make sure you have "show hidden files, folder, or drives" turned on in Explorer or you won't see the ".android" folder.
- 不确定这是否重要,但我的条目是 hw.mainKeys=no,而不是某些人建议的 hw.mainKeys=false.将其更改为 hw.mainKeys=yes 似乎已经解决了问题.
- Not sure it matters, but my entry said hw.mainKeys=no, not hw.mainKeys=false as some have suggested. Changing it to hw.mainKeys=yes seems to have fixed the problem.
- AVD 名称 - 您的 AVD 名称将与我的不同.我只是在名称中添加了 Release 名称/API 级别,这样我就可以快速扫描列表并转到某个版本,例如 Honeycomb、Ice Cream Sandwich、Jelly Bean 等(例如 ICS_4.0.3_API_15.avd)李>
在 < 的另一个线程中有更多信息.很遗憾系统 UI 已停止 >.它从问一个看似无关紧要的问题开始,但最终到达了同一个地方.
There's more information in another thread at < Unfortunately System UI has stopped >. It starts by asking a seemingly tangential question, but gets to the same place.
相关文章