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

前端 未结 20 785
醉话见心
醉话见心 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:41

    Disable location in settings and also disable touch sounds.

    0 讨论(0)
  • 2020-12-04 06:44

    To find out what on the virtual device is using the most CPU:

    adb shell
    
    $ top
    
    

    This will show you a list of processes with the highest CPU usage atop.

    This will help you determine whether it's a process (such as your app) inside the emulator, another process inside the emulator, or just the emulation itself using a lot of CPU.

    In the latter case, try optimizing the emulator by installing HAX (Native intel instructions) or perhaps enable hardware acceleration using the AVD profile editor.

    0 讨论(0)
  • 2020-12-04 06:45

    my case, coz I choose software for graphics rendering in adv. so after a change to the hardware reduce CPU usage from 60 to 10, and CPU temp from 70 to 40.

    0 讨论(0)
  • 2020-12-04 06:47

    In my case it was the fast boot that was causing the problem, to force into normal boot open the text file in C:\Users\<username>\.android\avd\<AVD name>\config.ini and change at least one of the values.

    for example change the line

    hw.battery=yes 
    

    to

    hw.battery=no
    
    0 讨论(0)
  • 2020-12-04 06:47

    Using kind of old Android version I used Lollipop Galaxy Nexus API 22 dropped CPU usage from 220% to around 30% ! ...

    I also switched: Emulated Performance > Graphics > Hardware

    Using Android Api 25 ... Hardware for graphics and turning off AVD audio and GPS didn't work for me...

    Platform: MacOS

    0 讨论(0)
  • 2020-12-04 06:50

    Changing the resolution worked form me. I was using 1440 x 2560 560 dpi Oreo 8.1. Now im using M-DPI Oreo 8.1

    0 讨论(0)
提交回复
热议问题