报错Exception: No Windows desktop project configured. 解决办法

flutter build windows flutter run -d windows

报错Exception: No Windows desktop project configured. 解决办法

报错 Exception: No Windows desktop project configured. 如何解决

详细报错如下 No Windows desktop project configured. See https://flutter.dev/desktop#add-desktop-support-to-an-existing-flutter-app to learn about adding Windows support to a project

解决办法,执行下边命令创建,注意最后的点

flutter create .

flutter技术交流群,欢迎加入

评论

  • jinyu5843 148天前

    感谢楼主,找了很长时间终于解决了

    回复 举报

    Feng

    登录过290天


    河北地质大学(本科)
    分享&发布