Skip to content

window不能编译 #128

Description

@githubxiaoa

flutter3.41.8 + wakelock_plus: ^1.6.0 + vs2026
无法编译通过:
Launching lib\main.dart on Windows in debug mode...
d:\Microsoft Visual Studio\18\Enterprise\MSBuild\Microsoft\VC\v180\Microsoft.CppCommon.targets(254,5): error MSB8066: “F:\Desktop\XRDianJing\xrdianjing\build\windows\x64\CMakeFiles\9f1dbaf86b32e1c8810e42133b6eb54c\flutter_windows.dll.rule;F:\Desktop\XRDianJing\xrdianjing\build\windows\x64\CMakeFiles\36c016c5f1521cc7a2c37b3cf9ca58df\flutter_assemble.rule;F:\Desktop\XRDianJing\xrdianjing\windows\flutter\CMakeLists.txt”的自定义生成已退出,代码为 1。 [F:\Desktop\XRDianJing\xrdianjing\build\windows\x64\flutter\flutter_assemble.vcxproj]
Error: Build process failed.

log:
[ +11 ms] [ +10 ms] windows_aot_bundle: Complete
[+268441 ms] [+268439 ms] Could not acquire the lock to F:\Desktop\XRDianJing\xrdianjing.dart_tool\hooks_runner\shared\win32.lock.
[ +3 ms] [ +2 ms] Persisting file store
[ +16 ms] [ +19 ms] Done persisting file store
[ +70 ms] [ +70 ms] Target dart_build failed: TimeoutException after 0:05:00.000000: Could not acquire the lock to F:\Desktop\XRDianJing\xrdianjing.dart_tool\hooks_runner\shared\win32.lock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions