[英]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:我尝试过的事情:
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.