Have Android studio both official latest and Arctic Fox Beta 3 installed on my MacBook Air M1. cannot get the emulator running on neither edition of android stood.
"The emulator process for AVD 'myavxname' has terminated."
I have made sure I use the other (ARM image) instead of the Intel ones, as there are quite some posts on the web and it seems those post saved many, not me.
I use the command in terminal to check more helpful error message:
~/Library/Android/sdk/emulator/emulator -avd P4S
, p4s is my emulator config name.
also run the command
pip3 install opencv-python-headless
still blocked by this error below.
emulator: Android emulator version 30.3.5.0 (build_id 7036990) (CL:N/A) emulator: INFO: ignore sdcard for arm at api level >= 30 handleCpuAcceleration: feature check for hvf emulator: INFO: QtLogger.cpp:68: Warning: Could not find the Qt platform plugin "cocoa" in "/Users//Library/Android/sdk/emulator/lib64/qt/plugins" ((null):0, (null))
Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. ((null):0, (null)) emulator: INFO: QtLogger.cpp:68: Fatal: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. ((null):0, (null))
and here is the ls-lR > ls.txt of my folder under Android/sdk/emulator/lib64
total 0 drwxr-xr-x 9 staff 288 Jun 12 15:44 lib drwxr-xr-x 3 staff 96 Jun 12 15:44 libexec -rw-r--r-- 1 staff 0 Jun 14 23:59 ls.txt drwxr-xr-x 7 staff 224 Jun 12 15:35 plugins drwxr-xr-x 2 staff 64 Jun 12 15:44 resources drwxr-xr-x 3 staff 96 Jun 12 15:35 translations
./lib: total 52872 -rwxr-xr-x 1 staff 7833392 Jun 12 15:44 libQt5CoreAndroidEmu.5.dylib -rwxr-xr-x 1 staff 899808 Jun 12 15:44 libQt5DBusAndroidEmu.5.dylib -rwxr-xr-x 1 staff 7123104 Jun 12 15:44 libQt5GuiAndroidEmu.5.dylib -rwxr-xr-x 1 staff 2180144 Jun 12 15:44 libQt5NetworkAndroidEmu.5.dylib -rwxr-xr-x 1 staff 466768 Jun 12 15:44 libQt5PrintSupportAndroidEmu.5.dylib -rwxr-xr-x 1 staff 477808 Jun 12 15:44 libQt5SvgAndroidEmu.5.dylib -rwxr-xr-x 1 staff 8073344 Jun 12 15:44 libQt5WidgetsAndroidEmu.5.dylib
./libexec: total 0 drwxr-xr-x 2 staff 64 Jun 12 15:44 qtwebengine_locales
./libexec/qtwebengine_locales:
./plugins: total 0 drwxr-xr-x 2 staff 64 Jun 12 15:45 bearer drwxr-xr-x 2 staff 64 Jun 12 15:45 iconengines drwxr-xr-x 2 staff 64 Jun 12 15:45 imageformats drwxr-xr-x 2 staff 64 Jun 12 15:45 platforms drwxr-xr-x 2 staff 64 Jun 12 15:45 styles
./plugins/bearer:
./plugins/iconengines:
./plugins/imageformats:
./plugins/platforms:
./plugins/styles:
./resources:
./translations: total 0 drwxr-xr-x 2 staff 64 Jun 12 15:44 qtwebengine_locales
./translations/qtwebengine_locales: