我在将 Android Studio 升级到 4.1.3 版本后发现问题
我什至无法启动模拟器甚至创建新模拟器。我收到错误:
<块引用>AVD Pixel_3a_API_28 的模拟器进程被终止。
我已经尝试重新安装英特尔 HAXM,但没有成功。 奇怪的是我的模拟器的初始大小是一样的。
当我运行命令 ./emulator -avd Pixel_4_API_29
我明白了:
emulator: Android emulator version 30.5.3.0 (build_id 7196367) (CL:N/A)
dyld: Library not loaded: /System/Library/Frameworks/IOUSBHost.framework/Versions/A/IOUSBHost
Referenced from: /Users/fanjavaid/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64
Reason: image not found
Abort trap: 6
有什么建议吗?
答案 0 :(得分:0)
是的,更新后同样的问题:
➜ ~ emulator -avd Pixel_3_XL_API_30
emulator: Android emulator version 30.5.5.0 (build_id 7285888) (CL:N/A)
handleCpuAcceleration: feature check for hvf
cannot add library /Users/student/Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libvulkan.dylib: failed
added library /Users/student/Library/Android/sdk/emulator/lib64/vulkan/libvulkan.dylib
HVF error: HV_ERROR
qemu-system-x86_64: failed to initialize HVF: Invalid argument
HAX is working and emulator runs in fast virt mode.
qemu-system-x86_64: Back to HAX accelerator
emulator: INFO: GrpcServices.cpp:301: Started GRPC server at 127.0.0.1:8554, security: Local