Status Update
Comments
a1...@gmail.com <a1...@gmail.com> #2
Hi, some users reported that installing "Vulkan SDK" helps with this issue. What is your GPU and its driver versions?
ml...@google.com <ml...@google.com>
a1...@gmail.com <a1...@gmail.com> #3
2024-12-03 13:34:02,503 [ 53041] INFO - #com.android.adblib.impl.SessionDeviceTracker - trackDevices() failed, will retry in 2000 millis, connection id=32
java.lang.IllegalStateException: ADB location has not been initialized
a1...@gmail.com <a1...@gmail.com> #4
Regarding the ADB issue ("ADB location has not been initialized"), I ran the adb version command in Command Prompt and successfully retrieved the version. Could you help me check this again?
co...@sim.org <co...@sim.org> #5
Could you please try stating the Emulator from the command line this way
cd C:\Users\crazy\Desktop\CODING\AndroidSDK\emulator
emulator.exe -avd Pixel_9_Pro_XL_API_33 -wipe-data -no-snapshot -verbose -feature -Vulkan
and attach its output? If you notice any popups about missing dlls please include them here.
bo...@google.com <bo...@google.com>
ya...@google.com <ya...@google.com> #6
a1...@gmail.com <a1...@gmail.com> #7
Thank you, please try adding -gpu swangle
(this is a software GPU, it will be slow), I think for whatever reason we can't talk to your GPU.
Please consider trying the latest version we have here:
mr...@gmail.com <mr...@gmail.com>
ya...@google.com <ya...@google.com> #8
Could you please check this for me?
a1...@gmail.com <a1...@gmail.com> #9
DEBUG | emuglConfig_get_vulkan_hardware_gpu: Physical devices count is 0
Serdar, could you please take a look?
ap...@rtwsa.com <ap...@rtwsa.com> #10
Please check if you have crashreports and if you do consider uploading them (please attach crash ids here):
cd C:\Users\crazy\Desktop\CODING\AndroidSDK\emulator
crashreport.exe -l
crashreport.exe -u
ya...@google.com <ya...@google.com>
ya...@google.com <ya...@google.com> #11
Microsoft Windows [Version 10.0.19045.5131]
(c) Microsoft Corporation. All rights reserved.
C:\Windows\system32>cd C:\Users\crazy\Desktop\CODING\AndroidSDK\emulator
C:\Users\crazy\Desktop\CODING\AndroidSDK\emulator>crashreport.exe -l
C:\Users\crazy\AppData\Local\Temp\\AndroidEmulator\emu-crash-35.4.3.db\reports\fa3cbbcf-3433-4a63-9c3a-f4d9f8ba847a.dmp
C:\Users\crazy\Desktop\CODING\AndroidSDK\emulator>crashreport.exe -u
Report fa3cbbcf-3433-4a63-9c3a-f4d9f8ba847a is available remotely as: 9a9150ec7b65047e
C:\Users\crazy\Desktop\CODING\AndroidSDK\emulator>
a1...@gmail.com <a1...@gmail.com> #12
Thank you a lot! We got the crash. I think we can't handle zero of VK devices well :) Serdar should know more why we get zero VK devices.
Maybe we should return false
if deviceCount
is zero.
ya...@google.com <ya...@google.com> #14
If you have any specific steps or fixes in mind, I’d appreciate your guidance. I can also run additional tests like vulkaninfo or check my Vulkan configuration if needed.
de...@google.com <de...@google.com>
vk...@google.com <vk...@google.com> #15
As I understand, Vulkan-Loader/issues/552 is talking about the case when there are two GPUs: an integrated AMD and a separate NVIDIA and somehow the AMD side prevents returning anything. If this is your case, I think the solution is to update the AMD GPU drivers.
de...@google.com <de...@google.com>
um...@gmail.com <um...@gmail.com> #16
Hi bro, the AVD is working now! After uninstalling the driver and reinstalling the latest version, the AVD opens successfully. Thank you so much for your help and for taking the time to assist me!
ya...@google.com <ya...@google.com> #17
Thank you for confirming this. We will fix the crash, but all we can do is to say "Your system has no Vulkan devices, update drivers or something" and exit.
Description
STEPS TO REPRODUCE:
1. Setup an AVD with API >30, arm64-v8a (Google APIs). In my case, I used Pixel 4a as the device (since that's what I have).
2. Start the emulator
API 30 works.
API 28 also works.
I assumed this was a temporary issue with API 31... but the issue persists with API 32 which makes testing things difficult without using my actual phone.
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
There's nothing to see, just the "Google" splash screen.
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
Emulator bug report thing doesn't work (because the system hasn't come up?), but I captured a logcat showing something crashing over and over again.
Android Studio Chipmunk | 2021.2.1 Patch 2
Build #AI-212.5712.43.2112.8815526, built on July 11, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.5.1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: org.jetbrains.kotlin (212-1.7.10-release-333-AS5457.46)
Android Emulator 31.3.10 (installed by Android Studio)
MacBook Pro (14-inch, 2021)
macOS Monterey 12.5.1
M1 Pro CPU
16GB RAM