Android 模拟器使用 100% 的 CPU,即使我没有运行它? [英] Android emulator uses 100% cpu even if nothing i running on it ?

查看:25
本文介绍了Android 模拟器使用 100% 的 CPU,即使我没有运行它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 celeron 处理器:/并且 eclipse 上的 android 模拟器使用 100% 的 cpu 并挂起所有东西,除非我杀死它.我只是在尝试书中的 hello android 程序,对 android 甚至 eclipse 不太了解.我安装了 android-eclipseplugin.

I have a celeron processor :/ and android emulator on eclipse uses 100% of cpu and hangs everything unless I kill it . I was just trying a hello android program from a book and don`t know much about android or even eclipse .I have the android-eclipseplugin installled .

有人可以帮我吗?谢谢!

Can someone help me with is ?thanks!

推荐答案

正如其他人所说,解决方案是禁用声音.不幸的是,在最近的 Android Studio 版本(我使用的是 1.4)中,禁用声音的选项已从 GUI 中删除.要禁用声音,您可以通过使用 -noaudio 标志从命令行启动模拟器,或通过编辑 AVD 的配置文件并设置以下参数来实现:

As others have said, the solution is disabling sound. Unfortunately, in recent Android Studio releases (I'm using 1.4) the option to disable sound has been removed from the GUI. To disable sound you can do it either by launching the emulator from the command line with the -noaudio flag, or by editing the AVD's config file and setting the following parameters:

hw.audioInput=no
hw.audioOutput=no

在 Linux 上,我在 ~/.android/avd/myAVD.avd/config.ini

On Linux, I found that file at ~/.android/avd/myAVD.avd/config.ini

这篇关于Android 模拟器使用 100% 的 CPU,即使我没有运行它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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