Below error I get when trying to launch a emulator from terminal on 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
Also tried using AVD Manager, it still fails to launch a emulator. I get error saying "The emulator process for AVD was killed"
Could someone please help me with this.
My Mac info: MAC OS Catalina - 10.15.7