Simulator debugging
Problem Description
I was thinking about debugging the packaged app on Windows, but because the app involves unity modules, and unity does not support the x86 architecture when packaged, I have never studied why
my Android Studio does not support non-x86 architecture images. Open in the simulator.
I read a post today and got inspired. It can indeed be opened, but there are still problems.
If you also have problems opening the simulator, you can check the logs of Android Studio and find the corresponding solution
log path based on the log information. in
c盘/user/你的电脑名称/appdata/local/google/androidstudio你的版本号/log/idea.log
my question is
INFO - Emulator: Pixel 6 API 30 - PANIC: Avd's CPU Architecture 'arm64' is not supported by the QEMU2 emulator on x 86_64 host.
solution
When creating device, if you choose arm architecture, the Android version cannot exceed 8, that’s it.
I don’t know the specific reason. I closed the post without messages and I’m too lazy to look for it... I’ll record it here.