Status Update
Comments
jl...@google.com <jl...@google.com> #2
Hi, some users reported that installing "Vulkan SDK" helps with this issue. What is your GPU and its driver versions?
rk...@google.com <rk...@google.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
ok...@gmail.com <ok...@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?
rk...@google.com <rk...@google.com> #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.
ok...@gmail.com <ok...@gmail.com> #6
ch...@gmail.com <ch...@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:
ja...@gmail.com <ja...@gmail.com> #8
Could you please check this for me?
ch...@gmail.com <ch...@gmail.com> #9
DEBUG | emuglConfig_get_vulkan_hardware_gpu: Physical devices count is 0
Serdar, could you please take a look?
ig...@gmail.com <ig...@gmail.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
rk...@google.com <rk...@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>
ja...@gmail.com <ja...@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.
ch...@gmail.com <ch...@gmail.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.
ja...@google.com <ja...@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.
ja...@google.com <ja...@google.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!
ja...@google.com <ja...@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.
ja...@google.com <ja...@google.com> #18
ja...@google.com <ja...@google.com> #19
Thanks for reporting this, a change is submitted (aosp/3393546) and will be available in the next canary builds of the emulator to correctly give an error for zero device cases. I'll close this one now as the booting issue is resolved with a driver update.
bo...@mfour.com <bo...@mfour.com> #20
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Emulator 35.3.11 Stable
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
ja...@google.com <ja...@google.com> #21
Further fixes for this issue are now available in:
- Android Emulator 35.4.5 Canary
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
co...@protonmail.com <co...@protonmail.com> #23
what version of emulator should this be in?
mi...@fresha.com <mi...@fresha.com> #24
la...@gmail.com <la...@gmail.com> #25
Still seeing this issue with 34.1.15-11228956 in AS Hedgehog 2023.1.1 patch 1
co...@protonmail.com <co...@protonmail.com> #26
FWIW Not seeing this issue anymore in latest canaries/beta.
ok...@gmail.com <ok...@gmail.com> #27
Android Studio Hedgehog | 2023.1.1 Patch 2
Build #AI-231.9392.1.2311.11330709, built on January 19, 2024
Emulator version : 34.1.13-11169323
el...@gmail.com <el...@gmail.com> #28
Android Studio Iguana | 2023.2.1 Beta 2
Build #AI-232.10227.8.2321.11280706, built on January 5, 2024
Android emulator version 34.1.15.0 (build_id 11228956) (CL:N/A)
ch...@gmail.com <ch...@gmail.com> #29
ch...@gmail.com <ch...@gmail.com> #30
ad...@gmail.com <ad...@gmail.com> #31
I'm having this issue still.
Android Studio Iguana | 2023.2.1 Build #AI-232.10227.8.2321.11479570, built on February 22, 2024 Runtime version: 17.0.9+0--11185874 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0
Android emulator version 34.1.18.0
al...@gmail.com <al...@gmail.com> #32
Android Studio Iguana | 2023.2.1
Build #AI-232.10227.8.2321.11479570, built on February 22, 2024
Runtime version: 17.0.9+0--11185874 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 4086M
Cores: 12
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
Dart (232.10286)
com.bloc.intellij_generator_plugin (3.4.0)
io.flutter (78.0.2)
Emulator version: 34.1.18
CPU: Ryzen 5600
GPU: Radeon 6500XT
xa...@google.com <xa...@google.com> #33
This should be fixed in 34.1.19, please update and let us know.
so...@google.com <so...@google.com> #34
so...@google.com <so...@google.com> #35
Note
From now till end of Feb 2024, we are migrating to using a separate task item to track postmortem status, instead of using the original fixed bug. You may run into unexpected issues as we iron out the wrinkles in the automated workflow. Any questions or feedback, please email: android-hygiene-autobug-filer@.
Thank you for your patience and support.
Description
I'll try to get more details, but wanted to bring it up at least.