启动的时候报错:The emulator process for AVD Pixel_API_19 has terminated.
等等,我好像知道答案了,但这个没发删除
不对,AS里面最低的Arm64有21版本的,只要你不选折叠屏,可能折叠屏这个特性支持的Android版本比较靠后,反正正常你就选Pixel吧,里面的ARM Images里面有API 21的镜像。
不对,不建议选Pixel机模,屏占比太低了,建议选Pixel 9!!!
1
nnegier OP 答案就是不行。
~/Library/Logs/Google/AndroidStudio2024.2/idea.log ``` 2025-03-14 00:15:51,164 [ 894001] INFO - Emulator: Pixel API 19 - /Users/duanxuebin/Library/Android/sdk/emulator/emulator -netdelay none -netspeed full -avd Pixel_API_19 -qt-hide-window -grpc-use-token -idle-grpc-timeout 300 2025-03-14 00:15:51,192 [ 894029] INFO - Emulator: Pixel API 19 - PANIC: CPU Architecture 'arm' is not supported by the QEMU2 emulator, (the classic engine is deprecated!) 2025-03-14 00:15:51,192 [ 894029] INFO - Emulator: Pixel API 19 - Android emulator version 35.4.9.0 (build_id 13025442) (CL:N/A) 2025-03-14 00:15:51,192 [ 894029] INFO - Emulator: Pixel API 19 - Graphics backend: gfxstream 2025-03-14 00:15:51,193 [ 894030] INFO - Emulator: Pixel API 19 - Process finished with exit code 1 2025-03-14 00:15:51,193 [ 894030] WARN - Emulator: Pixel API 19 - Emulator terminated with exit code 1 2025-03-14 00:15:52,171 [ 895008] WARN - #com.android.sdklib.deviceprovisioner.DeviceAction - The emulator process for AVD Pixel_API_19 has terminated. com.android.tools.idea.avdmanager.EmulatorConnectionListener$EmulatorTerminatedException: The emulator process for AVD Pixel_API_19 has terminated. at com.android.tools.idea.avdmanager.EmulatorConnectionListener$WaitForEmulatorTask.run(EmulatorConnectionListener.java:93) at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport$executeOnPooledThread$1.run(AnyThreadWriteThreadingSupport.kt:134) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:32) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Unknown Source) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) ``` |
2
nnegier OP 然后改了下 x86 ,当然这样更不行了
``` 2025-03-14 00:34:07,823 [1990660] INFO - Emulator: Pixel API 19 - /Users/duanxuebin/Library/Android/sdk/emulator/emulator -netdelay none -netspeed full -avd Pixel_API_19 -qt-hide-window -grpc-use-token -idle-grpc-timeout 300 2025-03-14 00:34:07,850 [1990687] INFO - Emulator: Pixel API 19 - Android emulator version 35.4.9.0 (build_id 13025442) (CL:N/A) 2025-03-14 00:34:07,850 [1990687] INFO - Emulator: Pixel API 19 - PANIC: Avd's CPU Architecture 'x86' is not supported by the QEMU2 emulator on aarch64 host. 2025-03-14 00:34:07,850 [1990687] INFO - Emulator: Pixel API 19 - Graphics backend: gfxstream 2025-03-14 00:34:07,850 [1990687] INFO - Emulator: Pixel API 19 - Found systemPath /Users/duanxuebin/Library/Android/sdk/system-images/android-19/default/x86/ 2025-03-14 00:34:07,851 [1990688] INFO - Emulator: Pixel API 19 - Process finished with exit code 1 2025-03-14 00:34:07,851 [1990688] WARN - Emulator: Pixel API 19 - Emulator terminated with exit code 1 ``` |
3
nnegier OP 在 Mac 只能正常运行 arm64 的镜像
|
4
nnegier OP 总结就是因为我的 Mac 是 arm64‘s host ,所以只能运行 arm64 的 ABI ,而 Android 19 我在 Images 列表中没有看到这个 ABI 的 Image ,所以我的电脑是没法用 AndroidStudio 运行的。如果用 Windows 或者 x86 的 Mac 应该是可以运行 x86 镜像的。
|
![]() |
6
liyafe1997 21 天前
@nnegier 应该是,老的安卓都是有 armv7 abi 的,Mac 别说系统,硬件都是纯 ARM64 ,不兼容 32 位的 armv7 。不过按理说,Android Studuio/SDK 应该要 Fallback 到纯软件模拟的方案?类似在 x86 host 下跑 ARM 镜像那样。
|
![]() |
7
liyafe1997 21 天前
PANIC: CPU Architecture 'arm' is not supported by the QEMU2 emulator, (the classic engine is deprecated!)
PANIC: Avd's CPU Architecture 'x86' is not supported by the QEMU2 emulator on aarch64 host. 这应该就是因为不支持 32 位 ARM 和 X86 了,这套 QEMU 配置为只能跑 aarch64 虚拟 CPU ,应该是只能用苹果那个虚拟机 API 来跑。 试试用 Rosetta 跑 x86 版的模拟器? |
8
nnegier OP @liyafe1997
是的,按理说 QEMU 是可以模拟运行 x86 的镜像的,我刚刚用 UTM ( QEMU 的 UI 界面软件)试了一下 Android 4.4 x86 的 Live (未安装,那个安装太麻烦了,暂时没耐心了),结论是:能运行,但很慢。我也不知道 AndroidStudio 为什么自动判断一下然后采用模拟的方案,虽然慢,但是能用也是很好的事呀。 |
![]() |
9
HojiOShi 21 天前
我去年就发现有这个问题,不过因为时间关系没有继续折腾。
不过现在的 Android Studio Meerkat | 2024.3.1 只能最低选择 Android 7.0 的镜像,而且目前 Chrome 和 Youtube 之类的谷歌家软件也仅支持 Android 8.0+。谷歌官方都懒得支持的上古玩意,一般人就别整了。 |