Running Android emulator with -noaudio option returns “qemu-system-i386.exe: -audio: invalid option”

后端 未结 3 953
自闭症患者
自闭症患者 2021-02-14 08:30
  1. I\'m running Windows 10, 64 bit, Android Studio 2.2.2. When creating an AVD from the Android SDK\'s AVD Manager, I don\'t see an option to completeley disable audio (input
3条回答
  •  迷失自我
    2021-02-14 08:58

    Here's my take on it:

    $ cd /opt/android-sdk/emulator 
    $ mv emulator{,.orig}
    $ cat < emulator
    heredoc> #!/bin/sh
    heredoc> 
    heredoc> QEMU_AUDIO_DRV=none `dirname $0`/emulator.orig "$@"
    heredoc> EOF
    $ chmod +x emulator
    

提交回复
热议问题