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

相关推荐
️ 邪神2 小时前
【Android、IOS、Flutter、鸿蒙、ReactNative 】标题栏
android·flutter·ios·鸿蒙·reatnative
askah66444 小时前
如何快速解决Windows系统中的emp.dll问题
windows·microsoft·电脑·dll文件找回·dll丢失
Jewel1059 小时前
Flutter代码混淆
android·flutter·ios
湖南罗泽南15 小时前
Windows C++ TCP/IP 两台电脑上互相传输字符串数据
c++·windows·tcp/ip
小奥超人15 小时前
PPT技巧:如何合并PPT文件?
windows·经验分享·microsoft·powerpoint·办公技巧
MarcoAI16 小时前
github SSH连接(windows)
windows·ssh·github
一头小火烧19 小时前
flutter打包签名问题
flutter
sunly_19 小时前
Flutter:异步多线程结合
flutter
AiFlutter19 小时前
Flutter网络通信-封装Dio
flutter
B.-19 小时前
Flutter 应用在真机上调试的流程
android·flutter·ios·xcode·android-studio