While trying to run the created Android project, I am getting below error and the project does not launch on the emulator even though the emulator gets launched successfully.
Error:
6:04 PM Emulator: dsound: Could not initialize DirectSoundCapture
6:04 PM Emulator: dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID
6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
6:04 PM Emulator: audio: Failed to create voice `goldfish_audio_in'
6:04 PM Emulator: %PATH%\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed
6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
6:04 PM Emulator: audio: Failed to create voice `adc'
6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
6:04 PM Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object
6:04 PM Emulator: audio: Failed to create voice `adc'
If the emulator fails to launch due to the error vulkan-1. dll cannot be found , you probably need to update the emulator. To update the emulator in Android Studio, go to Tools > SDK Manager and install the latest stable version of Android platform.
If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.
The reason why the designs look different is that the emulator's screen configuration is different to that which is used to render the design preview.
It's your new Windows 10 Update. I couldn't figure it out for the life of me! I looked at 4 pages of results on Google and only saw the same old crap. So, here we go.
To Fix: Click Start, go to ⚙ Settings> Privacy Settings> Microphone. Turn On "Allow apps to access your microphone"
Also, MrPoopyB0tthole advised me of this fix as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With