Android Studio - 启动模拟器出错 - Vulkan-1.dll [英] Android Studio - Error in launch emulator - Vulkan-1.dll

查看:62
本文介绍了Android Studio - 启动模拟器出错 - Vulkan-1.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Android Studio 中启动模拟器时,事件日志中出现以下两个错误:

when I launch the emulator in Android Studio, the following two errors occur in the event log:

Emulator: handleCpuAcceleration: feature check for hvf
Emulator: cannot add library vulkan-1.dll: failed

有人知道怎么解决吗?谢谢,

Someone knows how to solve them? Thank you,

马可

推荐答案

我升级android模拟器到30.7.5时遇到这种情况

I met this situation when I upgrade android emulator to 30.7.5

您需要创建

"advancedFeatures.ini"

在android文件夹内

inside android folder

C:\Users\YourUser.android\advancedFeatures.ini

C:\Users\YourUser.android\advancedFeatures.ini

把这段文字放在里面

# Here's how to disable Vulkan apps to talk to the emulator.

# Add the following lines to ~/.android/advancedFeatures.ini (create this file if it doesn't exist already):

Vulkan = off
GLDirectMem = on

这篇关于Android Studio - 启动模拟器出错 - Vulkan-1.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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