Skip to content

Instantly share code, notes, and snippets.

@sergchil
Forked from srishanbhattarai/android.txt
Created June 23, 2022 18:53
Show Gist options
  • Save sergchil/e0fa34bc96a2250994c1eae873e45d99 to your computer and use it in GitHub Desktop.
Save sergchil/e0fa34bc96a2250994c1eae873e45d99 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