【问题标题】:I have problem running android emulator on M1 mac我在 M1 mac 上运行 android 模拟器时遇到问题
【发布时间】:2021-11-02 02:02:06
【问题描述】:

我无法在 M1 Mac 上的模拟器中启动 Android 应用程序。 我非常仔细地按照说明设置基于 arm 的模拟器 但是当我运行它时显示

> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
   > com.google.common.base.VerifyException (no error message)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

【问题讨论】:

  • 按照建议尝试使用--stacktrace 选项

标签: android macos android-studio android-emulator apple-m1


【解决方案1】:

m1 mac 的 android studio 模拟器与基于 arm 的系统不兼容,因为 Apple M1 缺乏虚拟化支持

android studio 的 Rosetta 版本的问题似乎也一直存在,但我什至不知道 Rosetta 版本是什么,尽管如果它有帮助试试这个 page

【讨论】:

  • 这看起来与模拟器无关,可能与 gradle build 任务失败有关
猜你喜欢
  • 1970-01-01
  • 2022-01-08
  • 2021-10-24
  • 2022-09-28
  • 1970-01-01
  • 2017-07-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多