Introduction

備忘録。

1
2
% ${ANDROID_SDK_ROOT}/tools/emulator -avd Pixel_5_API_34
Could not launch '/Users/username/Library/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-aarch64': No such file or directory

無慈悲なエラー。
なぜ?

How to resolve?

ズバリ。

Use ~/Library/Android/sdk/emulator/emulator instead of ~/Library/Android/sdk/tools/emulator on MacOS, for Ubuntu use ~/Android/Sdk/emulator/emulator.

だそうです。

1
2
3
4
5
6
7
8
9
10
11
% ${ANDROID_SDK_ROOT}/emulator/emulator -avd Pixel_5_API_34 

INFO | Android emulator version 33.1.24.0 (build_id 11237101) (CL:N/A)
INFO | Found systemPath /Users/username/Library/Android/sdk/system-images/android-34/google_apis/arm64-v8a/
INFO | Storing crashdata in: , detection is enabled for process: 38866
INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
INFO | Increasing RAM size to 2048MB
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_posture_requested(int) ((null):0, (null))
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_posture_selection_dialog() ((null):0, (null))
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_resizable_requested(PresetEmulatorSizeType) ((null):0, (null))
INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_resizable_dialog() ((null):0, (null))

無事に起動した。