Android模拟器:无法创建语音goldfish_audio

时间:2018-01-24 12:05:22

标签: android ionic-framework avd android-sdk-manager

大家好我试图在Android模拟器上启动我的离子应用程序。

我已经配置了所有,sdk,设备等。

当我这样做时:

ionic cordova run android -l -c 

我在shell控制台上遇到错误:

BUILD SUCCESSFUL in 4s
47 actionable tasks: 1 executed, 46 up-to-date
Built the following apk(s):
        C:\project\ionic\MyIonicProject\platforms\android\app\build\outputs\apk\debug\app-debug.apk

ANDROID_HOME=C:\Users\fabio\AppData\Local\Android\android-sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_40
No target specified and no devices found, deploying to emulator

No emulator specified, defaulting to Samsung

Waiting for emulator to start...

emulator: Requested console port 5584: Inferring adb port 5585.
Hax is enabled
Hax ram_size 0x40000000
HAX is working and emulator runs in fast virt mode.
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
emulator: Liste
ning for console connections on port: 5584
emulator: Serial number of this emulator (for ADB): emulator-5584

这是我的config.ini:

AvdId=Nexus_6P_API_25
PlayStore.enabled=false
abi.type=x86
avd.ini.displayname=Nexus 6P API 25
avd.ini.encoding=UTF-8
disk.dataPartition.size=800M
fastboot.forceColdBoot=no
hw.accelerometer=yes
hw.arc=false
hw.audioInput=no
hw.audioOutput=no
hw.battery=yes
hw.camera.back=emulated
hw.camera.front=emulated
hw.cpu.arch=x86
hw.cpu.ncore=4
hw.dPad=no
hw.device.hash2=MD5:984dbf66b1aaafcdb7e89573ffb74b46
hw.device.manufacturer=Google
hw.device.name=Nexus 6P
hw.gps=yes
hw.gpu.enabled=yes
hw.gpu.mode=auto
hw.initialOrientation=Portrait
hw.keyboard=yes
hw.lcd.density=560
hw.lcd.height=2560
hw.lcd.width=1440
hw.mainKeys=no
hw.ramSize=1536
hw.sdCard=yes
hw.sensors.orientation=yes
hw.sensors.proximity=yes
hw.trackBall=no
image.sysdir.1=system-images/android-25/google_apis/x86/
runtime.network.latency=none
runtime.network.speed=full
sdcard.size=100M
showDeviceFrame=yes
skin.dynamic=yes
skin.name=nexus_6p
skin.path=/Users/damiano/Library/Android/sdk/skins/nexus_6p
tag.display=Google APIs
tag.id=google_apis
vm.heapSize=256

谷歌搜索我找到了各种解决方案,我检查了我的麦克风和音频是启用还是禁用。如你所见,我把audioInput和audioOutput设置为NO,但没有任何改变。

请帮助我!

由于

0 个答案:

没有答案