鉴于Android Studio对于M1芯片的兼容问题导致虚拟机无法创建,极大不方便调试工作,谷歌官方特提供一下解决方案。
亲测该方法可用,虚拟机运行正常。
I can confirm, this preview works properly https://androidstudio.googleblog.com/2020/12/android-emulator-apple-silicon-preview.html
Ok it has some limitations, but it works and it's fast
Edit on 4th Feb 2021
Now audio in and out works properly https://github.com/741g/android-emulator-m1-preview/issues/10#issuecomment-773532762