我正在尝试在模拟器中运行我的 Android 应用程序,但它无法启动,它只是不执行任何操作。我也从终端运行它,它显示以下消息:
INFO | Android emulator version 32.1.15.0 (build_id 10696886) (CL:N/A)
INFO | Found systemPath /home/MYUSER/Android/Sdk/system-images/android-29/google_apis_playstore/x86/
INFO | Storing crashdata in: /tmp/android-MYUSER/emu-crash.db, detection is enabled
INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.
WARNING | Failed to process .ini file /home/MYUSER/.android/avd/API29.avd/quickbootChoice.ini for reading.
WARNING | cannot add library /home/MYUSER/Android/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
INFO | added library /home/MYUSER/Android/Sdk/emulator/lib64/vulkan/libvulkan.so
qemu-system-x86_64: -drive if=none,index=0,id=system,if=none,file=/home/MYUSER/Android/Sdk/system-images/android-29/google_apis_playstore/x86//system.img,read-only: Could not open '/home/MYUSER/Android/Sdk/system-images/android-29/google_apis_playstore/x86//system.img': Operation not permitted
我看到的是 qemu 系统启动,有时会出现带有模拟器的窗口,但全黑并且没有响应。
我的笔记本电脑规格是:
英特尔®酷睿™ i7-11850H
内存32GB
显卡:NVIDIA RTX A2000
Ubuntu版本:Ubuntu 22.04.3
问题出在公司的防病毒软件上,与驱动程序或SO配置无关