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

查看:429
本文介绍了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 Studio 2.1 Android 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

这真是个烦人的粉丝

有人解决了这个问题吗?

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_Name> .avd/config.ini
Windows 上,文件位于C:\ Users \<用户名> \.android \ avd \< AVD_Name> .avd \ config.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>\.android\avd\<AVD_Name>.avd\config.ini

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

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