无法在Android虚拟设备上运行Flutter应用的问题求助
错误信息
Android emulator version 31.3.9.0 (build_id 8700579) (CL:N/A)
emulator: INFO: Found systemPath E:\AndroidStudioSettings\system-images\android-30\google_apis_playstore\x86
emulator: INFO: Found systemPath E:\AndroidStudioSettings\system-images\android-30\google_apis_playstore\x86
WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator.
ERROR | Running multiple emulators with the same AVD
ERROR | is an experimental feature.
ERROR | Please use -read-only flag to enable this feature.
INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.
1. 处理「同一AVD多实例启动」错误
- 关闭所有该AVD的运行进程,仅启动单个实例即可正常运行。
- 若确实需要同时运行多个相同AVD实例,启动时添加
-read-only参数:emulator -avd 你的AVD名称 -read-only - 也可在AVD管理器中复制当前AVD,创建独立的镜像副本,避免共享同一系统镜像文件。
2. 消除「unexpected system image feature string」警告
- 校验Android Emulator版本:打开SDK管理器→SDK Tools,确认Android Emulator为最新版,如有更新立即安装。
- 重新下载系统镜像:进入SDK Platforms,删除Android 30的
google_apis_playstore x86镜像,再重新下载完整包,修复可能的镜像损坏或版本不兼容问题。 - 冷启动并清理模拟器数据:在AVD管理器中选择对应设备,点击「⋮」→「Wipe Data」,再选择「Cold Boot Now」强制冷启动。
内容的提问来源于stack exchange,提问作者crazyDev

