Nilesh
Nilesh

Reputation: 141

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

Upvotes: 13

Views: 54812

Answers (9)

JillAndMe
JillAndMe

Reputation: 4551

In Window 10. I was able to fix it by doing...

  1. go to C:\Users<YOUR_USER_NAME>.android\avd\Pixel_XL_API_30_R_.avd
  2. open config file
  3. find hw.dPad and set yes like hw.dPad = yes
  4. Restart your AVD

Upvotes: 0

John Bentley
John Bentley

Reputation: 1824

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.

Upvotes: 3

Anshul Chauhan
Anshul Chauhan

Reputation: 21

It's your new Windows 10 Update.

To Fix: Click Start, go to ⚙ Settings> Privacy Settings> Microphone. Turn On "Allow apps to access your microphone"

Upvotes: 0

raziq
raziq

Reputation: 1

Just go to C:\users\sahil\.android\avd and delete .lock file.

Upvotes: 0

Rituraj jain
Rituraj jain

Reputation: 54

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

Upvotes: 3

Consule
Consule

Reputation: 1239

I solved the problem:

  1. pluggin in a microphone
  2. Start emulator (Wait to start app)
  3. and then removing it

Never had that problem again.

Upvotes: 1

palehorse
palehorse

Reputation: 27486

Old question I know, but I was able to resolve this by editing the emulator and disabling the hw.audioInput setting.

Upvotes: 0

dpertusa
dpertusa

Reputation: 61

I solved the problem pluggin in a microphone and then removing it. Never had that problem again.

Upvotes: 6

Trang Đỗ
Trang Đỗ

Reputation: 180

  1. Go to: Tools > Android > AVD Manager
  2. Press the "edit" (pencil) icon next to your AVD
  3. Change "Graphics" to "Software".

Upvotes: 13

Related Questions