Android Studio 3.0 Emulator: Could not lock voice for audioInputDeviceIOProc

Viewed 6326

I seem to get this error while building my app on my emulator. I do not know what it the cause of it and it seems affecting my app which causes it my app to crash on the emulator.

Emulator: coreaudio: Could not lock voice for audioInputDeviceIOProc
Emulator: Reason: Invalid argument

2 Answers
  1. Launch “AVD Manager”
  2. Click the "Edit this AVD" of the virtual device you want to use in Android Virtual Device Manager. enter image description here
  3. Click the "Show Advanced Settings" in (AVD's) Virtual Device Configuration. enter image description here
  4. Go to "Emulated Performance" section in (AVD's) Virtual Device Configuration and select "Cold boot" of "Boot option:" and click "Finish". enter image description here
  5. Relaunch your virtual device and rerun your app on the emulator(Virtual Device).
Related