#[SOLVED] android studio - emulator AVD panic

6 messages · Page 1 of 1 (latest)

red cape
#

hello i have tried everything but AVD is broken all i have in logs is:

INFO -       Emulator: Pixel 2 API 32 - Android emulator version 31.3.14.0 (build_id 9322596) (CL:N/A) 
INFO -       Emulator: Pixel 2 API 32 - emulator: INFO: path_getAvdSystemPath: AVD Pixel_2_API_32 has path /home/zl/.android/avd/Pixel_2_API_32.avd 
INFO -       Emulator: Pixel 2 API 32 - PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/opt/android-sdk]! 
INFO -       Emulator: Pixel 2 API 32 - emulator: INFO: path_getAvdSystemPath: trying to check whether /opt/android-sdk is a valid sdk root 
INFO -       Emulator: Pixel 2 API 32 - emulator: WARN: path_getAvdSystemPath: /opt/android-sdk/system-images/android-32/google_apis/x86_64/ is not a valid directory. 
INFO -       Emulator: Pixel 2 API 32 - emulator: WARN: path_getAvdSystemPath: emulator has searched the above paths but found no valid sdk root directory. 
ERROR -       Emulator: Pixel 2 API 32 - Emulator terminated with exit code 1 
INFO -       Emulator: Pixel 2 API 32 - Process finished with exit code 1 
#

i do have everything libraries and shit does the issue happened because i used yay to install them ?

red cape
#

😭 after a week i found out what was happening:

i was installing the android images from android studio and that store them in a different place than sdkmanager i don't know where does android studio install them but after doing ls -la /opt/android-sdk/system-images/ i got this:

drwxrwxr-x+ 3 zl zl 4096 Dec 31 16:04 android-23
drwxrwxr-x+ 3 zl zl 4096 Dec 31 16:15 android-30
drwxrwxr-x+ 3 zl zl 4096 Dec 31 15:48 android-33

in the logs it said android-32/google_apis/x86_64/ is not a valid directory.

and now its working because i chose existing android image that's already in /opt/android-sdk the question now becomes how i can find the android images and remove them

note:
the images in that directory were installed from sdkmanager --install ...
also make sure you have haxm installed

#

[partially solved] android studio - emulator AVD panic

red cape
#

it seems i'm missing a library(idk which library) that need to load this shit:

cannot add library /opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed 
red cape
#

[SOLVED] android studio - emulator AVD panic