Android 模拟器 Could not lock voice for audioInputDeviceIOProc

最近微信「跳一跳」 游戏很火,本着程序员对技术应有对敏感和热忱,我特地从 GitHub 上找到了网友写的 wechat_jump_game 进行尝试,稳稳地在朋友圈当第一啊!但是当我再次运行模拟器对时候,模拟器打不开了。。

Emulator: coreaudio: Could not lock voice for audioInputDeviceIOProc

从网上找了找重启 ADB 对方法,都没有用,最后再准备重装 Android Studio 之前,找到了解决方案

1.打开 Tool 下的 AVD Manager

AVD Manager

2.点击下载按钮下的 Show on Disk

Show on Disk

3.打开 config.ini 文件

config.ini

4.修改 hw.audioInput=yes 为 hw.audioInput=no

image.png


然后终于见到了熟悉的界面,希望能帮到遇到同样问题的朋友。
image.png

欢迎关注我的博客简书CSDNGitHub

发布了28 篇原创文章 · 获赞 9 · 访问量 3万+
展开阅读全文

android 开发加载项目报resizing partition e2fsck failed

07-14

``` [2017-07-14 09:56:40 - FishJoy_final] ------------------------------ [2017-07-14 09:56:40 - FishJoy_final] Android Launch! [2017-07-14 09:56:40 - FishJoy_final] adb is running normally. [2017-07-14 09:56:40 - FishJoy_final] Performing fishjoy.control.menu.MainMenu activity launch [2017-07-14 09:56:40 - FishJoy_final] Automatic Target Mode: launching new emulator with compatible AVD 'test1' [2017-07-14 09:56:40 - FishJoy_final] Launching a new emulator with Virtual Device 'test1' [2017-07-14 09:56:41 - Emulator] emulator: WARNING: userdata partition is resized from 550 M to 2048 M [2017-07-14 09:56:41 - Emulator] [2017-07-14 09:56:41 - Emulator] Hax is enabled [2017-07-14 09:56:41 - Emulator] Hax ram_size 0x80000000 [2017-07-14 09:56:41 - Emulator] HAX is working and emulator runs in fast virt mode. [2017-07-14 09:56:41 - Emulator] ERROR: resizing partition e2fsck failed with exit code 1 [2017-07-14 09:56:43 - Emulator] audio: Failed to create voice `goldfish_audio_in' [2017-07-14 09:56:43 - Emulator] qemu-system-i386.exe: warning: opening audio input failed [2017-07-14 09:56:43 - FishJoy_final] New emulator found: emulator-5554 [2017-07-14 09:56:43 - Emulator] emulator: Listening for console connections on port: 5554 [2017-07-14 09:56:43 - FishJoy_final] Waiting for HOME ('android.process.acore') to be launched... [2017-07-14 09:56:43 - Emulator] emulator: Serial number of this emulator (for ADB): emulator-5554 ``` 问答

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客

分享到微信朋友圈

×

扫一扫,手机浏览