High CPU usage with Android emulator (qemu-system-i386.exe)

前端 未结 20 930
醉话见心
醉话见心 2020-12-04 05:48

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

Android studio 2.1 Android SDK Tools: 25.1.3 Host Operating System: Windows 7 - i7

20条回答
  •  爱一瞬间的悲伤
    2020-12-04 06:30

    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.

    Change/add those two lines

    hw.audioInput=no
    hw.audioOutput=no
    

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

    hw.GPS = no 
    

    On Linux/Mac the file is located at ~/.android/avd/.avd/config.ini
    On Windows the file is located at C:\Users\\.android\avd\.avd\config.ini

提交回复
热议问题