gpt4 book ai didi

带有 ARM CPU M1 的 macOS 上的 Android Studio/Emulator

转载 作者:行者123 更新时间:2023-12-04 04:27:21 24 4
gpt4 key购买 nike

我启动了 Android Studio 4.1在 macOS 中大确定 11.0.1使用新的 ARM cpu M1
安装 Rosetta 后:是的,它建立了!
但是模拟器有问题,显示 CPU 不支持 VT-x
甚至 ARM 镜像也有此问题 enter image description here
我使用了最新的、非常旧的 api25(谷歌必须在这里做点什么),但速度慢得令人难以置信
如何让模拟器快速工作?

最佳答案

好消息 !
2021 年 7 月 28 日编辑 🎉 🌈

Apple Silicon Support


现在,有一个 arm64 发布版本可用于 Android Studio 北极狐 (2020.3.1)
您可以从这里下载 https://developer.android.com/studio#downloads
使用 arm64-v8a 镜像!
  • 工具 -> SDK 管理器
  • 安装 Android 11 (R) 或 12.0 (S) 并点击应用
  • 工具 -> AVD 管理器 -> 单击创建虚拟设备
  • 选择任何具有播放按钮的设备,然后单击下一步
  • 在“其他图像”选项卡上选择 arm64-v8a

  • Android studio
  • 当 NDK 遇到 Unknown host CPU architecture: arm64你可以解决它here
  • kapt doesn't work已解决https://stackoverflow.com/a/68285501/1079990

  • 测试结束!谢谢
    2021 年 5 月编辑 🎉 🌈

    Apple Silicon Support


    有一个 arm64 可用于 的版本Android Studio 北极狐 (2020.3.1) 金丝雀 15 ... RC01
    你可以在这里下载 https://developer.android.com/studio/archive
    Android studio
    2021 年 2 月 4 日编辑
    现在音频输入和输出工作正常 https://github.com/741g/android-emulator-m1-preview/issues/10#issuecomment-773532762

    关于带有 ARM CPU M1 的 macOS 上的 Android Studio/Emulator,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64907154/

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