gpt4 book ai didi

Android studio Arctic Fox beta 3 on M1 Chip (Apple Silicon) 模拟器无法启动 : "The emulator process for AVD ' myAvdName' has terminated."

转载 作者:行者123 更新时间:2023-12-04 23:49:09 25 4
gpt4 key购买 nike

在我的 MacBook Air M1 上安装 Android Studio 官方最新版本和北极狐 Beta 3。无法让模拟器在任何版本的 android 上运行。

"The emulator process for AVD 'myavxname' has terminated."


我确保我使用的是另一个(ARM 镜像)而不是 Intel 的,因为网上有很多帖子,而且这些帖子似乎保存了很多,而不是我。
我使用终端中的命令来检查更多有用的错误消息:

~/Library/Android/sdk/emulator/emulator -avd P4S


, p4s 是我的模拟器配置名称。
也运行命令

pip3 install opencv-python-headless


仍然被下面的这个错误阻止。

emulator: Android emulator version 30.3.5.0 (build_id 7036990)(CL:N/A) emulator: INFO: ignore sdcard for arm at api level >= 30handleCpuAcceleration: 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 plugincould be initialized. Reinstalling the application may fix thisproblem. ((null):0, (null)) emulator: INFO: QtLogger.cpp:68: Fatal:This application failed to start because no Qt platform plugin couldbe initialized. Reinstalling the application may fix this problem.((null):0, (null))


这是我在 Android/sdk/emulator/lib64 下的文件夹的 ls-lR > ls.txt

total 0 drwxr-xr-x 9 staff 288 Jun 12 15:44 libdrwxr-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 96Jun 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:44qtwebengine_locales

./libexec/qtwebengine_locales:

./plugins: total 0 drwxr-xr-x 2 staff 64 Jun 12 15:45bearer drwxr-xr-x 2 staff 64 Jun 12 15:45 iconenginesdrwxr-xr-x 2 staff 64 Jun 12 15:45 imageformatsdrwxr-xr-x 2 staff 64 Jun 12 15:45 platforms drwxr-xr-x2 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 1215:44 qtwebengine_locales

./translations/qtwebengine_locales:

最佳答案

模拟器好像有问题。
你可以试试:

  • 降级你的模拟器(@igor-levkivskiy 回答)
  • 使用另一个模拟器 (amswer by @bhw1899)
  • 更改高级设置:/image/5dEaJ.png (@julio 回答)

  • 资源:
    Android Emulator Issues in new versions - The emulator process has terminated

    关于Android studio Arctic Fox beta 3 on M1 Chip (Apple Silicon) 模拟器无法启动 : "The emulator process for AVD ' myAvdName' has terminated.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67973655/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com