【问题标题】:Failed to create Vulkan instance - Android Studio, Windows 10无法创建 Vulkan 实例 - Android Studio、Windows 10
【发布时间】:2020-04-22 06:32:40
【问题描述】:

我需要使用 Android Studio,但 Android 虚拟设备没有启动。

我收到此错误:

22.04.2020
10:23   Emulator: emulator: ERROR: VkCommonOperations.cpp:496: Failed to create Vulkan instance.

10:23   Emulator: C:\Users\blatsabidze\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: error while loading state for instance 0x0 of device 'goldfish_pipe'

10:23   Emulator: deleteSnapshot: for default_boot

10:23   Emulator: Screenshot failed to find cb 0

10:23   Emulator: Process finished with exit code 0

我有配备 Intel HD Graphics 530、I5 6500 的 hp prodesk 400 g3 mt

我的硬件有问题吗?

谢谢

【问题讨论】:

  • 嗯,这很难说问题出在哪里。只是一个愚蠢的问题:模拟器支持图形加速,对吧? IE。您可以从 Play 商店安装和运行游戏吗?如果是这样,您是否尝试过运行现有的 Android Vulkan 示例应用程序? Sascha Willems' Vulkan Examples 应该在 Android 上运行(虽然没有尝试过)。我可以确认在 Intel HD 530 上运行 Vulkan 完全没有问题,因此问题一定出在您的应用程序或模拟器上。

标签: android-studio android-emulator vulkan


【解决方案1】:

我最近将我的AVD Configuration > Graphics 更改为“软件”(因为this answer 中的建议)。当我将其设置回“自动”时,错误消失了。

【讨论】:

    【解决方案2】:

    安装 HAXM 解决了我的问题。

    https://github.com/intel/haxm/releases

    【讨论】:

      猜你喜欢
      • 2021-04-21
      • 1970-01-01
      • 2017-12-30
      • 2021-02-01
      • 2022-08-09
      • 1970-01-01
      • 1970-01-01
      • 2018-06-27
      • 2021-10-16
      相关资源
      最近更新 更多