代码片段分享

android模拟器 无法开启 活 开启闪退 的 可能问题

2020-09-11  本文已影响0人  花艺荣

1. Android 模拟器启动总失败,报:

10:45 Emulator: dsound: Could not initialize DirectSoundCapture

10:45 Emulator: dsound: Reason: No sound driver is available for use, or the given GUID is not a valid DirectSound device ID

10:45 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

10:45 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

10:45 Emulator: audio: Failed to create voice `goldfish_audio_in'

10:45 Emulator: D:\android-sdk226\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed
.......
解决:启用立体声混音
https://jingyan.baidu.com/article/eae07827d0460f5fed548504.html

2. 开启闪退无特别信息
android studio 升级后,打开模拟器会出现闪退的问题。
1)在android studio 工具栏 点击SDK Manager.
2)点击SDK Tools
找到 Intel x86 Emulator Accelerator(HAXM installer), 然后点击下载,在点击ok,等待下载完成
3)在~/Library/Android/sdk 目录中找到 extras/intel/Hardware_Accelerated_Execution_Manager。
双击运行IntelHAXM.dmg, 一路运行下去就可以了。
引用链接:https://www.jianshu.com/p/3bd210dad69a

上一篇下一篇

猜你喜欢

热点阅读