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里面的文件文章来源:https://www.toymoban.com/news/detail-672112.html
[+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文章来源地址https://www.toymoban.com/news/detail-672112.html
到了这里,关于flutter windows编译错误 flutter_assemble.vcxproj的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!