Emulator报错问题?

上次帮朋友解决安卓模拟器的问题,希望对大家有所帮助。
首先,在朋友的虚拟机上运行发现报错了一大堆信息,算了一下总共有15行。
在这里插入图片描述
点开右下角的Event Log可以看到报错日志。
报错内容如下:
16:54 Emulator: emulator: ERROR: Could not load OpenGLES emulation library [libOpenglRender]: Could not load DLL!

16:54 Emulator: emulator: ERROR: Retrying in program directory/lib64…

16:54 Emulator: emulator: ERROR: Could not load OpenGLES emulation library [G:\Android\SDK\tools\qemu\windows-x86_64\lib64\libOpenglRender]: Could not load DLL! (2nd try)

16:54 Emulator: dsound: Could not initialize DirectSoundCapture

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

16:54 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

16:54 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

16:54 Emulator: audio: Failed to create voice `goldfish_audio_in’

16:54 Emulator: G:\Android\SDK\tools\qemu\windows-x86_64\qemu-system-x86_64.exe: warning: opening audio input failed

16:54 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

16:54 Emulator: dsound: Attempt to initialize voice without DirectSoundCapture object

16:54 Emulator: audio: Failed to create voice `adc’

16:54 Emulator: emulator: ERROR: OpenGLES emulation failed to initialize. Please consider the following troubleshooting steps:

16:54 Emulator: Process finished with exit code -1073741819 (0xC0000005)

随机复制几个代码报错内容到论坛,通过对关键字的分析,(dsound)(voice)(OpenGLES)
发现报错发现问题出现在两个地方
在这里插入图片描述
一个是缺少对应的文件(或者说文件没有复制到对应的地方)
第二个是喇叭权限没给足,于是按照论坛的同行的解决方案去做,结果发现模拟器运行起来了
下面是论坛朋友的链接,希望本人解决问题的方法对大家有帮助。
https://blog.csdn.net/weixin_34092455/article/details/86437060
https://blog.csdn.net/wangctes/article/details/88530774
重新启动的时候发现自己运行起来的机型没了,于是创建了新机,但是又报了缺少文件的错。
这个时候本人建议重新开机,当时可能是朋友开了其他虚拟机,导致创建的机型没有找到,后来关闭虚拟机后(应该是重新启动了)就又找到对应的机型了。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值