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

你可能感兴趣的:(flutter/dart,flutter,windows)