简体   繁体   English

"Android Studio Bumblebee 2021.1.1 Canary 4 Emulator 无法在 m1 上运行"

[英]Android Studio Bumblebee 2021.1.1 Canary 4 Emulator not working on m1

So earlier today , I was working on Android Studio Arctic Fox 2020 1.1.3 beta 3 , and decided to upgrade to latest version and therefore install this new version.所以今天早些时候,我正在开发 Android Studio Arctic Fox 2020 1.1.3 beta 3,并决定升级到最新版本,因此安装了这个新版本。 After installing the new version, emulator did work on my m1 mba for first time but then suddenly stopped working.安装新版本后,模拟器第一次在我的 m1 mba 上工作,但突然停止工作。 When I build my project and run it, it shows "waiting for devices to come online" and the process named qemu-system-aarch64 in my activity monitor but emulator doesnt show up in android studio or in any separate window.当我构建我的项目并运行它时,它在我的活动监视器中显示“等待设备上线”和名为 qemu-system-aarch64 的进程,但模拟器没有显示在 android studio 或任何单独的窗口中。 Weird thing that now even android-emulator-m1-preview doesnt work now after upgrading to this bumblebee version.Earlier it was working, but now its not.奇怪的是,在升级到这个 bumblebee 版本后,现在甚至 android-emulator-m1-preview 现在都不起作用了。以前它可以工作,但现在不行了。 Things I tried:我尝试过的事情:

  1. Downgrading to Arctic Fox RC version.降级到北极狐 RC 版本。<\/li>
  2. Downgrading to the previous version where emulator was working but no luck.降级到模拟器工作但没有运气的先前版本。<\/li>
  3. Deleting Android folder in Users\\user\\Library删除 Users\\user\\Library 中的 Android 文件夹<\/li>
  4. Resetting IDE preferences.重置 IDE 首选项。<\/li>
  5. Wiping Data and cold reboot.擦除数据和冷重启。<\/li>
  6. Installing arm64-v8a-S_r02-darwin.zip as suggested in Emulator appearing offline on M1 Mac after the last update of arm64-v8a<\/a>按照Emulator 中的建议安装 arm64-v8a-S_r02-darwin.zip 在最后一次更新 a​​rm64-v8a 后在 M1 Mac 上脱机<\/a><\/li>
  7. Reinstalling android emulator.重新安装安卓模拟器。<\/li><\/ol>"

This is a known issue with Bumblebee and it won't be fixed soon as this has a long, long history not only on M1.这是 Bumblebee 的一个已知问题,并且不会很快得到解决,因为这不仅在 M1 上有着悠久的历史。 The workaround of running the emulator as external app "works" because the system gets a chance to kill the app when it doesn't quit on quit.将模拟器作为外部应用程序运行的解决方法“有效”,因为系统在退出时没有退出时有机会杀死该应用程序。 And you get to fill out a bug report to Apple each and every time if you want.如果需要,您每次都可以向 Apple 填写错误报告。 Wouldn't call that "working".不会称其为“工作”。 Emulators launched inside AS Bumblebee on M1 become rogue processes right away (red in Activity Monitor where you can also kill them).在 M1 上的 AS Bumblebee 内启动的模拟器立即成为流氓进程(活动监视器中的红色您也可以杀死它们)。 This was an issue in the original Arctic Fox installs and took a ton of releases to be fixed in 2020.3.1 Patch 4. Now we are restarting the cycle.这是最初的北极狐安装中的一个问题,并在 2020.3.1 补丁 4 中修复了大量版本。现在我们正在重新启动循环。 There are tons of reports, but Google is sort of ignoring it.有大量的报道,但谷歌有点忽视它。 It's macOS\/Apple after all, so no - great - hurry.毕竟是 macOS\/Apple,所以不——太好了——快点。 This is an issue that would have come up right away if any testing was done at all with a pristine M1 \/ Bumblebee install.如果使用原始 M1 \/ Bumblebee 安装完成任何测试,这个问题就会立即出现。 Just stick to Arctic Fox for now.现在就坚持北极狐。

"

The emulator will work on a stand-alone window.模拟器将在独立窗口上运行。

For Bumblebee stable version, on Mac M1.对于 Bumblebee 稳定版,在 Mac M1 上。

Android Studio -> preferences -> Tools -> Emulator -> uncheck "Launch in a tool window". Android Studio -> 首选项 -> 工具 -> 模拟器 -> 取消选中“在工具窗口中启动”。

"

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

相关问题 Bumblebee 2021.1.1 Android Studio补丁如何安装? - How to install the Bumblebee 2021.1.1 Android Studio Patch? Android Studio Bumblebee 2021.1.1 在等待调试器时挂起 - Android Studio Bumblebee 2021.1.1 Hangs at Waiting For Debugger 除了模拟器,android studio 在 M1 macs 中是否可以正常工作 - Apart from emulator, is android studio working fine in M1 macs Android Studio Bumblebee 中的Git 或Github pull、push 错误解决方案 | 天天要闻 2021.1.1 - Git or Github pull, push errors solution in Android Studio Bumblebee | 2021.1.1 Android Studio Bumblebee 2021.1.1 Patch 2 新增设备管理器 - Android Studio Bumblebee 2021.1.1 Patch 2 new Device Manager 如何在Android Studio (Bumblebee | 2021.1.1)不同的windows打开模拟器? - How to open emulators in different windows at Android Studio (Bumblebee | 2021.1.1)? Android 工作室模拟器皮肤与 M1 Pro - Android studio emulator skin with M1 Pro Android 仿真器无法在 M1 芯片 Mac 上运行 - Android Emulator not working on M1 Chip Mac 升级到 Android studio Bumblebee canary 4 抛出 java.lang.AbstractMethodError - Upgrading to Android studio Bumblebee canary 4 throw java.lang.AbstractMethodError Android Studio Emulator 在 Bumblebee 更新后消失 - Android Studio Emulator disappears after Bumblebee update
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM