参考文章:
https://stackoverflow.com/questions/65696048/android-studio-emulator-cannot-add-library-vulkan-1-dll-failed
搜索过程中发现以下命令
进入SDK所在目录内的emulator目录的cmd终端
默认安装时在当前用户(如AnotherCoder)的如下目录
C:\Users\AnotherCoder\AppData\Local\Android\Sdk\emulator
列出已创建的模拟器ID:
C:\Users\AnotherCoder\AppData\Local\Android\Sdk\emulator>emulator -list-avds
Pixel_3_XL_API_32
Pixel_4a_API_30
通过模拟器ID启动模拟器
emulator -avd 模拟器ID
C:\Users\AnotherCoder\AppData\Local\Android\Sdk\emulator>emulator -avd Pixel_4a_API_30
INFO | Android emulator version 31.1.4.0 (build_id 7920983) (CL:N/A)
WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
WARNING | cannot add library vulkan-1.dll: failed
WARNING | cannot add library vulkan-1.dll: failed
搜索第一个WARNING 时尝试无效后,搜索第二个WARNING 就看到参考文章中去微软的vs code安装目录中复制了vulkan-1.dll文件到C:\Users\AnotherCoder\AppData\Local\Android\Sdk\emulator\lib64后成功启动