Android 模拟器(来自 Android Studio)滞后 [英] Android Emulator (from Android Studio) lagging

查看:37
本文介绍了Android 模拟器(来自 Android Studio)滞后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

搜索了解决方案,没有找到任何有用的东西.

Searched for a solution, didn't find anything helpful.

我有一个 GTX 970 和一个 i5 4690k OC 4.2 GHz.Android Studio 中的模拟器非常落后,我不知道为什么.

I have a GTX 970 and an i5 4690k OC 4.2 GHz. The Emulator from Android Studio is lagging as hell and I don't know why.

安装了 Intel HAXM,为 Android 设备分配了 4G 内存.我只是找不到解决方案.顺便提一句.我不认为我的处理器太糟糕,因为我可以同时运行 2 个虚拟机,并且模拟器在我的 XPS 15 9560 (i7 7700HQ & GTX 1050) 上运行良好

Intel HAXM is installed, 4G Ram is allocated to the Android Device. I just can't find a solution. Btw. I don't think my processor is too bad since I can run 2 VMs at once and the Emulator works fine on my XPS 15 9560 (i7 7700HQ & GTX 1050)

有人知道该怎么做吗?

配置:

还尝试使用软件进行图形仿真,但速度要慢得多.顺便说一下,这在后台运行并且似乎没有解决:

Also tried using Software for graphics emulation, much more slower. Btw for reference this runs in the background and doesn't seem to resolve:

使用的 SDK

CPU 使用率:

此外,我还在 Hackintosh 的同一系统上安装了 AVD:

Also, I installed the AVD also on the same system on Hackintosh:

CPU:10%,运行流畅

CPU: 10% and works smoothly

推荐答案

削减 RAM 方式.没有值得注意的 Android 设备具有 8GB 的​​ RAM.1-2GB 范围内的东西应该没问题.

Cut the RAM way back. There is no Android device of note that has 8GB of RAM. Something in the 1-2GB range should be fine.

削减虚拟机堆方式.例如,我的模拟器图像使用 48-128MB,而不是 8GB.

Cut the VM heap way back. For example, my emulator images use 48-128MB, not 8GB.

如果这些没有帮助,请尝试使用较低分辨率的模拟器(例如 Nexus 4 1280x768),看看是否会改变您的结果.

If those don't help, experiment with a lower-resolution emulator (e.g., Nexus 4 1280x768) and see if that changes your results.

这篇关于Android 模拟器(来自 Android Studio)滞后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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