微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Android 模拟器无法从命令行和 AVD 管理器在 MAC 上打开

如何解决Android 模拟器无法从命令行和 AVD 管理器在 MAC 上打开

尝试从 MAC 上的终端启动模拟器时出现以下错误

user ~ $ emulator -list-avds
Pixel_4_play
user ~ $ emulator @Pixel_4_play
emulator: Android emulator version 30.7.4.0 (build_id 7453540) (CL:N/A)
handlecpuacceleration: feature check for hvf
cannot add library /Users/user/Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libvulkan.dylib: Failed
added library /Users/user/Library/Android/sdk/emulator/lib64/vulkan/libvulkan.dylib
cannot add library /Users/user/Library/Android/sdk/emulator/qemu/darwin-x86_64/lib64/vulkan/libmoltenVK.dylib: Failed
added library /Users/user/Library/Android/sdk/emulator/lib64/vulkan/libmoltenVK.dylib
emulator: INFO: GrpcServices.cpp:315: Started GRPC server at 127.0.0.1:8554,security: Local
emulator: INFO: EmulatorAdvertisement.cpp:93: Advertising in: /Users/akumar8/Library/Caches/TemporaryItems/avd/running/pid_61379.ini
dyld: lazy symbol binding Failed: Symbol not found: _preadv
  Referenced from: /Users/user/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _preadv
  Referenced from: /Users/user/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64
  Expected in: /usr/lib/libSystem.B.dylib

Abort trap: 6

也尝试使用 AVD Manager,它仍然无法启动模拟器。我收到错误消息“AVD 的模拟器进程已终止”

有人可以帮我解决这个问题吗。

我的 Mac 信息: MAC OS Catalina - 10.15.7

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。