错误 Android 模拟器被杀死 [英] ERROR Android emulator gets killed
问题描述
更新到 Android Studio 2 后,当我尝试运行我的应用程序并选择一个模拟器时,我等待模拟器启动,但它突然被杀死.我可以在几分钟内看到模拟器进程,但从来没有看到 gui.在 Android Studio 中,我收到错误
After updating to Android Studio 2 when I try to run my application and choose an emulator, I wait for the emulator to start and it suddenly gets killed. I can see emulator process for some minutes but never the gui. In Android studio I get the error
android studio 等待设备时出错:模拟器进程因为AVD被杀了
android studio Error while waiting for device: The emulator process for AVD was killed
即使我在 Android Studio 之外运行模拟器也会发生这种情况.我已经尝试过基于 Android 6 和 Android 4.4 的模拟器.在 Windows 7 x64 PC 上运行.类似于另一个stackoverflow帖子关闭.我尝试了各种 ram、vm heap 和分辨率设置.
This happens even if I run the emulator outside Android Studio. I have tried with both aa Android 6 and Android 4.4 based emulator. Running on a Windows 7 x64 PC. Similar post to another stackoverflow post which was closed. I have tried various ram, vm heap and resolution settings.
推荐答案
对我来说,OpenGL 不能在我的机器上运行似乎是一个问题.我修正如下:
For me it seems it was a problem that OpenGL didn't work on my machine. I fixed it as follows:
- 转到:工具 >安卓>AVD 经理
- 按编辑"按钮AVD 旁边的(铅笔)图标
- 更改图形"到软件".
这篇关于错误 Android 模拟器被杀死的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!