Android emulator uses 100% cpu even if nothing i running on it ?

前端 未结 10 2115
感情败类
感情败类 2020-12-13 06:01

I have a celeron processor :/ and android emulator on eclipse uses 100% of cpu and hangs everything unless I kill it . I was just trying a hello android program from a book

10条回答
  •  無奈伤痛
    2020-12-13 06:24

    As others have said, the solution is disabling sound. Unfortunately, in recent Android Studio releases (I'm using 1.4) the option to disable sound has been removed from the GUI. To disable sound you can do it either by launching the emulator from the command line with the -noaudio flag, or by editing the AVD's config file and setting the following parameters:

    hw.audioInput=no
    hw.audioOutput=no
    

    On Linux, I found that file at ~/.android/avd/myAVD.avd/config.ini

提交回复
热议问题