2025-04-07

flutter 启动 安卓模拟器 报错

"launch.json" 中缺少配置“flutterdian (Flutter Pixel 7)”。

No devices found yet. Checking for wireless devices...

No supported devices found with name or id matching 'Pixel 7'.

The following devices were found:

taoban的iPhone (mobile)          • 00008020-00120D1E3CF3002E • ios            • iOS 18.3.2 22D82

macOS (desktop)                • macos                    • darwin-arm64  • macOS 15.1 24B83 darwin-arm64

Mac Designed for iPad (desktop) • mac-designed-for-ipad    • darwin        • macOS 15.1 24B83 darwin-arm64

Chrome (web)                    • chrome                    • web-javascript • Google Chrome 134.0.6998.166

决解方案

flutter emulators --create --name Pixel_7_API_34 # 创建模拟器

flutter emulators --launch Pixel_7_API_34      # 启动模拟器

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容