鑒於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