📜  android adb 使用过多的 cpu - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:16.198000             🧑  作者: Mango

代码示例1
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