flutter windows编译错误 flutter_assemble.vcxproj

flutter 编译windows是出现错误。

+44 ms\] d:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\MSBuild\\Microsoft\\VC\\v170\\Microsoft.CppCommon.targets(248,5): error MSB8066: ��E:\\work\\kkview_kuaichuan\\kkview_kuaichuan\\build\\windows\\CMakeFiles\\f9d4f25554ec392844d37f741eb4b20d\\flutter_windows.dll.rule;E:\\work\\kkview_kuaichuan\\kkview_kuaichuan\\build\\windows\\CMakeFiles\\ded63a72e40aa99d3ce4fe95dd205eb9\\flu tter_assemble.rule�����Զ����������˳�������Ϊ 1�� \[E:\\work\\kkview_kuaichuan\\kkview_kuaichuan\\build\\windows\\flutter\\flutter_assemble.vcxproj

运行命令:

flutter run -d windows -v

仔细观察输出,发现错误,找不到pubspec.yaml里面的文件

+13425 ms\] \[+13425 ms\] kernel_snapshot: Complete \[ +710 ms\] \[ +710 ms\] debug_bundle_windows_assets: Starting due to {} \[ +117 ms\] \[ +117 ms\] Error detected in pubspec.yaml: \[ \] \[ \] No file or variants found for asset: lib/XXX.so. \[ +1 ms\] \[ +2 ms\] Persisting file store \[ +12 ms\] \[ +12 ms\] Done persisting file store

相关推荐
RaidenLiu5 小时前
从 Provider 迈向 Riverpod 3:核心架构与迁移指南
前端·flutter
叽哥6 小时前
Flutter面试:Dart基础2
flutter·面试·dart
tangweiguo030519879 小时前
Android原生(Kotlin)与Flutter混合开发 - 设备控制与状态同步解决方案
android·flutter
海天胜景9 小时前
编译器错误消息: CS0016: 未能写入输出文件“c:\Windows\Microsoft.NET... 拒绝访问
c语言·windows
搏博18 小时前
基于Python3.10.6与jieba库的中文分词模型接口在Windows Server 2022上的实现与部署教程
windows·python·自然语言处理·flask·中文分词
江上清风山间明月1 天前
Flutter AlwaysScrollableScrollPhysics详解
flutter·滚动·scrollable·scrollphysics
普罗米拉稀1 天前
Flutter 复用艺术:Mixin 与 Abstract 的架构哲学与线性化解密
flutter·ios·面试
有梦想的攻城狮1 天前
Java 11中的Collections类详解
java·windows·python·java11·collections
忒可君1 天前
C# winform FTP功能
开发语言·windows·c#
十五年专注C++开发1 天前
CMake进阶: CMake Modules---简化CMake配置的利器
linux·c++·windows·cmake·自动化构建