Android Studio Studio音频错误 [英] Android-Studio Emulator audio error

查看:328
本文介绍了Android Studio Studio音频错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在尝试使用Windows 10 x64 Pro在来宾VM 中设置 Android Studio 3.1.3 .在VirtualBox中,我已启用intel HD sound controller.我已经在像素上的ARM EABI体系结构的AVD中安装了Android 6.0.

Hello, I am trying to setup Android Studio 3.1.3 in a guest VM with windows 10 x64 pro. In the VirtualBox I have intel HD sound controller enabled. I have installed Android 6.0 in AVD for ARM EABI architecture on a Pixel.

但是,当我尝试启动模拟器时,我会得到

However, when I try to launch the emulator I get

Emulator: audio: Failed to create voice `goldfish_audio_in'

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

仿真器只是一个黑屏,对任何内容均不响应.

and the emulator is just a black screen that does not respond to anything.

我在Virtual Box中启用了有关硬件加速的所有功能.

I have everything enabled in Virtual Box regarding hardware acceleration.

我检查了这些帖子:

是可以在VMWare上运行Android Device Emulator(通过Android Studio 2)吗?

模拟器:警告:AVD启动时,控制台中显示打开音频输入失败"

Android模拟器:音频输入失败

但是在仿真器上我仍然遇到相同的错误和黑屏...

but I still get the same error and black screen on the emulator...

我还尝试禁用config.ini中的声音或禁用Windows 10 VM中的麦克风,但没有进行任何更改.

I have also tried to disable sound in config.ini or disable the microphone in windows 10 VM but didnt change anything.

我在这里错过了什么吗?

是否可以在VM上为ARM体系结构运行android仿真器?

Is it impossible to run android emulator for ARM architecture on a VM?

推荐答案

将某些东西插入麦克风的针脚并瞧瞧.由于某种原因,错误消失了……它需要麦克风..虚拟机管理程序AMD Ryzen 1600已开启,Windows 10专业版1903.在模拟器上运行Pie很好

Plugin something in the microphone pin and voila.. the error goes away... for some reason, it needs the microphone .. AMD Ryzen 1600, the hypervisor is on, windows 10 pro-1903. Running Pie on emulator fine

这篇关于Android Studio Studio音频错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆