错误Android模拟器被杀死 [英] ERROR Android emulator gets killed

查看:2426
本文介绍了错误Android模拟器被杀死的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试运行我的应用程序并选择一个模拟器时,更新到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堆和分辨率设置.

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.

推荐答案

我遇到了同样的问题,问题是我的磁盘驱动器中没有足够的空间..您可以在事件日志"层中查看有关特定情况的详细信息该层通常位于Android Studio的底部,这是我的输出日志:

I had same issue, the problem was there is no enough space in my disk drive.. you can see details about you specific situation in layer 'Event Log' this layer regularly is in the bottom on Android studio, it was my output Log:

下午2:45模拟器:模拟器:错误:没有足够的空间来创建用户数据分区.可用:/home/user/.android/avd/my_Nexus_5X_API_27.avd上的3310.363281 MB,需要7372.800000 MB."

"02:45 PM Emulator: emulator: ERROR: Not enough space to create userdata partition. Available: 3310.363281 MB at /home/user/.android/avd/my_Nexus_5X_API_27.avd, need 7372.800000 MB."

我只有7 GB的可用空间,因此只需删除D.D中的一些GB.一切正常.

I had just 7 GB free, so just delete some GB's in my D.D. and it's working fine.

这篇关于错误Android模拟器被杀死的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆