Skip to content

Instantly share code, notes, and snippets.

@sp1r1don
Forked from srishanbhattarai/android.txt
Created July 2, 2020 13:06
Show Gist options
  • Save sp1r1don/488a155451ff646e596d9d87cce6580d to your computer and use it in GitHub Desktop.
Save sp1r1don/488a155451ff646e596d9d87cce6580d to your computer and use it in GitHub Desktop.
Android Emulator CPU/Memory high usage solution
https://stackoverflow.com/questions/37063267/high-cpu-usage-with-android-emulator-qemu-system-i386-exe
The cause of the constant CPU usage is 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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment