Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emulator: audio: Failed to create voice `adc'

[ while opening AVD Manager getting

Emulator: qemu-system-i386.exe: warning: opening audio input failed

Emulator: audio: Failed to create voice `adc'

Emulator: audio: Failed to create voice `adc' got this error ? How to remove error ? ]1

like image 475
Nilesh Avatar asked Dec 28 '17 15:12

Nilesh


2 Answers

One option, following @palehorse's terse clue, is to edit your AVD's config.ini to disable audio.

  1. Android Studio > Tools > AVD manager ...

  2. Against your (previously setup) Virtual Device > Actions > Down arrow [Click it] > Show on Disk ...

  3. This will take you to a directory like C:\Users\<username>\.android\avd\my_API_29_-_Android_10.avd

  4. In that directory edit config.ini

  5. Replace ...

    hw.audioInput=yes
    

    ... with ...

    hw.audioInput=no
    hw.audioOutput=no
    

    An entry for hw.audioOutput did not previously exist.

  6. Restart the emulator a few times to get rid of lingering error messages.

See Android AVD set custom hardware for other ways to disable audio.

like image 190
John Bentley Avatar answered Sep 21 '22 11:09

John Bentley


Go to Sdk -> emulator -> lib and then open configuration settings named hardware properties, find the hw.AudioInput field and set default to no:

click this link to see the screenshot

like image 36
Rituraj jain Avatar answered Sep 17 '22 11:09

Rituraj jain