Solve audio: Failed to create voice `goldfish_audio' error

Today, I started to read Guo Lin Guo Shao's "First Line of Code Android" 2nd edition. According to the introduction, I built a development environment and created the first HelloWorld program. I followed the steps strictly, but when starting the android emulator, exist

android studio console report:

init: Could not find wglGetExtensionsStringARB!

Hax is enabled
getGLES2ExtensionString: Could not find GLES 2.x config!
Hax ram_size 0x60000000
Failed to obtain GLES 2.x extensions string!
HAX is working and emulator runs in fast virt mode.
Could not initialize emulated framebuffer
audio: Failed to create voice `goldfish_audio'
qemu-system-i386.exe: warning: opening audio output failed
audio: Failed to create voice `goldfish_audio_in'
qemu-system-i386.exe: warning: opening audio input failed
audio: Failed to create voice `dac'
audio: Failed to create voice `adc'

emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.

Finally, in the setting of Graphiscs: Software-GLES2.0 is selected, the problem is solved


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326314552&siteId=291194637