简体   繁体   English

Android Studio [BumbleBee 2021.1.1] Mac M1 上的模拟器超时

[英]Android Studio [BumbleBee 2021.1.1] Emulator Timeout on Mac M1

I have Android Studio BumbleBee 2021.1.1 downloaded, running on a MacBook Pro M1.我下载了 Android Studio BumbleBee 2021.1.1,在 MacBook Pro M1 上运行。 When downloading Android Studio, I chose the Apple Chip option (opposed to Intel)下载Android Studio时,我选择了Apple Chip选项(与Intel相反)

I am running a ReactNative project.我正在运行一个 ReactNative 项目。

I've created a Virtual Device - Android 12.0 arm64-v8a Pixel 4.我创建了一个虚拟设备 - Android 12.0 arm64-v8a Pixel 4。

When I attempt to run the emulator it gets stuck here当我尝试运行模拟器时,它卡在这里

Connecting to the Emulator...连接模拟器...

Then, it times out:然后,它超时:

Timeout Error超时错误

I have searched SO and other blogs and can only find outdated material based on a time in 2020/2021 when Android did not support ARM64.我搜索了 SO 和其他博客,只能找到基于 2020/2021 年 Android 不支持 ARM64 的时间的过时材料。 However, it's my understanding that this has now changed so https://github.com/google/android-emulator-m1-preview is no longer needed.但是,据我了解,现在情况已经改变,因此不再需要https://github.com/google/android-emulator-m1-preview

What is the correct way to run the Android Emulator on a Mac with an M1 Chip?在带有 M1 芯片的 Mac 上运行 Android 仿真器的正确方法是什么? Thank you, I appreciate any help in advance.谢谢,我感谢您提前提供的任何帮助。

I have found the issue so marking this as solved, however, if anyone knows why this solves the problem, please share!我发现了问题,因此将其标记为已解决,但是,如果有人知道为什么会解决问题,请分享!

I found an issue opened on Google's anroid-emulator-m1-preview repo with this answer https://github.com/google/android-emulator-m1-preview/issues/76#issuecomment-1023563846我在 Google 的 anroid-emulator-m1-preview 存储库中发现了一个问题,这个问题的答案是 https://github.com/google/android-emulator-m1-preview/issues/76#issuecomment-1023563846

Turns out, I just needed to uncheck 'Launch in a tool window' but again, not sure why that fixed the issue.事实证明,我只需要取消选中“在工具窗口中启动”,但再次不确定为什么会解决问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM