Android 模拟器 (qemu-system-i386.exe) 的高 CPU 使用率 [英] High CPU usage with Android emulator (qemu-system-i386.exe)

查看:150
本文介绍了Android 模拟器 (qemu-system-i386.exe) 的高 CPU 使用率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

模拟器qemu-system-i386.exe cpu使用率几乎一直在7~9之间运行

The emulator qemu-system-i386.exe cpu usage almost constantly running between 7~9

Android 工作室 2.1Android SDK 工具:25.1.3主机操作系统:Windows 7 - i7 2630QM - 8GB Ram已安装 Intel x86 Atom 系统映像

Android studio 2.1 Android SDK Tools: 25.1.3 Host Operating System: Windows 7 - i7 2630QM - 8GB Ram Intel x86 Atom System Image installed

无论我在模拟器中更改什么设置,例如:模拟性能、多核 CPU、x86-64 映像,总是一样

No matter what setting i change in the emulator like: emulated performance, multi-core CPU, x86-64 image, always the same thing

粉丝总是开着真的很烦人

It is really annoying fan always on

有人解决了这个问题吗?

Anyone had a fix for this issue?

推荐答案

CPU 使用率恒定的原因可能是声音.如果您的模拟器不需要声音,您可以通过编辑 AVD 的配置文件来禁用它.

The cause of the constant CPU usage could be the sound. If you do not need sound in your emulator you can disable it by editing the AVD's config file.

更改/添加这两行

hw.audioInput=no
hw.audioOutput=no

更新:正如 buncis 所说,如果不需要,您也可以尝试禁用 GPS:

Update: As buncis commented you can also try to disable GPS if not needed:

hw.GPS = no 

Linux/Mac 上,该文件位于 ~/.android/avd/.avd/config.ini
Windows 上,该文件位于 C:Users<username>.androidavd<AVD_Name>.avdconfig.ini

On Linux/Mac the file is located at ~/.android/avd/<AVD_Name>.avd/config.ini
On Windows the file is located at C:Users<username>.androidavd<AVD_Name>.avdconfig.ini

这篇关于Android 模拟器 (qemu-system-i386.exe) 的高 CPU 使用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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