美文网首页
2025-04-07

2025-04-07

作者: IOS高级工程师贾正亮的简书 | 来源:发表于2025-04-06 16:43 被阅读0次

    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      # 启动模拟器

    相关文章

      网友评论

          本文标题:2025-04-07

          本文链接:https://www.haomeiwen.com/subject/kooovjtx.html