android-studioandroid-emulatorandroid-virtual-devicevulkanandroid-xr

Android Studio Emulator fails to start XR Device – Vulkan is not supported


I'm trying to launch an Android Emulator named XR_Device (Android 14.0 "UpsideDownCake", x86_64), but I keep encountering the following error:

The emulator process for AVD XR_Device has terminated.

When I try running the XR_Device from the terminal using:

.\emulator -avd XR_Device -verbose

I get this critical error message:

FATAL | Vulkan is not supported: GuestAngle feature won't work!

Command vulkaninfo:

VULKANIFO

Vulkan Instance Version: 1.4.304

Instance Extensions: count = 19

File idea.log:

2025-04-14 11:55:34,881 [3833240] INFO - Emulator: XR Device - C:\Users\user\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd XR_Device 2025-04-14 11:55:34,949 [3833308] INFO - Emulator: XR Device - [29272:2752:20250414,115534.949:ERROR filesystem_win.cc:130] GetFileAttributes C:\Users\user\AppData\Local\Temp\AndroidEmulator\emu-crash-35.6.3.db\attachments\35ecaf5e-f998-425e-be14-cf4a7c7e89b8: El sistema no puede encontrar el archivo especificado. (2) 2025-04-14 11:55:34,998 [3833357] INFO - Emulator: XR Device - Android emulator version 35.6.3.0 (build_id 13311253) (CL:N/A) 2025-04-14 11:55:34,998 [3833357] INFO - Emulator: XR Device - Graphics backend: gfxstream 2025-04-14 11:55:34,998 [3833357] INFO - Emulator: XR Device - Found systemPath C:\Users\user\AppData\Local\Android\Sdk\system-images\android-34\google-xr\x86_64
2025-04-14 11:55:35,090 [3833449] INFO - Emulator: XR Device - [20724:6600:20250414,115535.090:ERROR filesystem_win.cc:130] GetFileAttributes C:\Users\user\AppData\Local\Temp\AndroidEmulator\emu-crash-35.6.3.db\attachments\35ecaf5e-f998-425e-be14-cf4a7c7e89b8: El sistema no puede encontrar el archivo especificado. (2) 2025-04-14 11:55:37,683 [3836042] WARN - Emulator: XR Device - Please update the emulator to one that supports the feature(s): QtRawKeyboardInput 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - IPv4 server found: 192.168.x.x 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Ignore IPv6 address: 3032:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: 3032:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: 3032:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: 5038:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: 5038:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: 5038:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: a046:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: a046:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: a046:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: c84c:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: c84c:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Ignore IPv6 address: c84c:572e:2f02:0:602b:572e:2f02:0 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Checking system compatibility: 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Checking: hasCompatibleHypervisor 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Ok: Hypervisor compatibility to run avd: XR_Device are met 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Checking: hasSufficientSystem 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: Suggested minimum system RAM to run avd 'XR_Device' is 16384 MiB (available: 16085 MiB) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Checking: hasSufficientHwGpu 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - emuglConfig_get_vulkan_hardware_gpu_support_info: Found physical GPU 'NVIDIA GeForce RTX 3050 Ti Laptop GPU', type: VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU, apiVersion: 1.4.303, driverVersion: 572.83 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - emuglConfig_get_vulkan_hardware_gpu_support_info: Found physical GPU 'Intel(R) UHD Graphics', type: VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU, apiVersion: 1.4.309, driverVersion: 0.405.2638 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: GPU memory available (3962 MB) to run avd: XR_Device is below the suggested level (4000 MB) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Checking: hasSufficientDiskSpace 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Ok: Disk space requirements to run avd: XR_Device are met 2025-04-14 11:55:37,683 [3836042] WARN - Emulator: XR Device - Suggested minimum system RAM to run avd 'XR_Device' is 16384 MiB (available: 16085 MiB), GPU memory available (3962 MB) to run avd: XR_Device is below the suggested level (4000 MB). 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Critical: Failed to load opengl32sw (No se puede encontrar el módulo especificado.) (:0, ) 2025-04-14 11:55:37,683 [3836042]
INFO - Emulator: XR Device - Warning: Software OpenGL failed. Falling back to system OpenGL. (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO

  • Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_btn_xr_environment_living_room_day_clicked() (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device
  • Warning: QMetaObject::connectSlotsByName: No matching signal for on_btn_xr_environment_living_room_night_clicked() (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_posture_requested(int) (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_posture_selection_dialog() (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_resizable_requested(PresetEmulatorSizeType) (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_resizable_dialog() (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_xr_environment_mode_changed(int) (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_xr_environment_mode_dialog() (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_xr_input_mode_changed(int) (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_xr_input_mode_dialog() (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_sleep_timer_done() (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO
  • Emulator: XR Device - Warning: QMetaObject::connectSlotsByName: No matching signal for on_unfold_timer_done() (:0, ) 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Storing crashdata in: C:\Users\user\AppData\Local\Temp\AndroidEmulator\emu-crash-35.6.3.db, detection is enabled for process: 5672 2025-04-14 11:55:37,683 [3836042] INFO - Emulator: XR Device - Crash reports will be a 2025-04-14 11:55:37,699 [3836058] INFO - Emulator: XR Device - I0414 11:55:37.702221 13544 opengles.cpp:262] android_startOpenglesRenderer: gpu info 2025-04-14 11:55:37,699 [3836058] INFO - Emulator: XR Device - I0414 11:55:37.702240 13544 opengles.cpp:263] GPU #1 2025-04-14 11:55:37,699 [3836058] INFO - Emulator: XR Device - Make: 10de 2025-04-14 11:55:37,699 [3836058]
    INFO - Emulator: XR Device - Model: NVIDIA GeForce RTX 3050 Ti Laptop GPU 2025-04-14 11:55:37,699 [3836058] INFO - Emulator: XR Device - Device ID: 25a0 2025-04-14 11:55:37,699 [3836058] INFO - Emulator: XR Device - 2025-04-14 11:55:38,015 [3836374] INFO - Emulator: XR Device - [20724:6600:20250414,115538.015:ERROR filesystem_win.cc:130] GetFileAttributes C:\Users\user\AppData\Local\Temp\AndroidEmulator\emu-crash-35.6.3.db\attachments\e4228931-e675-4ef0-a014-39f76b832d43: El sistema no puede encontrar el archivo especificado. (2) 2025-04-14 11:55:38,019 [3836378] INFO - Emulator: XR Device - [20724:6600:20250414,115538.019:ERROR filesystem_win.cc:130] GetFileAttributes C:\Users\user\AppData\Local\Temp\AndroidEmulator\emu-crash-35.6.3.db\attachments\e4228931-e675-4ef0-a014-39f76b832d43: El sistema no puede encontrar el archivo especificado. (2) 2025-04-14 11:55:38,019 [3836378] INFO - Emulator: XR Device - [20724:6600:20250414,115538.019:ERROR directory_reader_win.cc:43] FindFirstFile: El sistema no puede encontrar la ruta especificada. (3) 2025-04-14 11:55:38,619 [3836978] INFO - Emulator: XR Device - [20724:6600:20250414,115538.619:ERROR filesystem_win.cc:130] GetFileAttributes C:\Users\user\AppData\Local\Temp\AndroidEmulator\emu-crash-35.6.3.db\attachments\e4228931-e675-4ef0-a014-39f76b832d43: El sistema no puede encontrar el archivo especificado. (2) 2025-04-14 11:55:38,656 [3837015] INFO - Emulator: XR Device - Process finished with exit code 1073741845 2025-04-14 11:55:38,656 [3837015] WARN - Emulator: XR Device - Emulator terminated with exit code 1073741845 2025-04-14 11:55:41,009 [3839368] WARN - #c.i.i.a.CopyTBXReferenceAction - Cannot find TBX tool for IDE: AndroidStudio 2025-04-14 11:55:43,128 [3841487] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.SdkEntity to files 2025-04-14 11:55:43,128 [3841487] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities com.intellij.platform.workspace.jps.entities.LibraryEntity to files 2025-04-14 11:55:43,170 [3841529] INFO - #c.i.c.ComponentStoreImpl - Saving appRecentProjectsManager took 16 ms

System Specs:

Primary GPU: NVIDIA GeForce RTX 3050 Ti Laptop GPU

OS: Windows 10

RAM: 16 GB 

What I’ve tried:

Ensured GPU drivers are up to date

Tried switching between software and hardware rendering using -gpu swiftshader_indirect and -gpu host

Any help would be greatly appreciated!

Let me know if you want to include the full verbose log or any system screenshots.


Solution

  • Fix to the problem here: https://issuetracker.google.com/issues/410485043

    Vulkan feature was "off" on advancedFeatures.ini