Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter Windows build Failed, error LNK1168 [closed]

While building a Flutter app for Windows in debug mode, this error is occuring. flutter doctor -v gives normal output. What might be the cause of this ?

Launching lib\main.dart on Windows in debug mode...
lib\main.dart:1
LINK : fatal error LNK1168: cannot open F:\{project-name}\build\windows\runner\Debug\{project-name}.exe for writing [F:\{project-name}\build\windows\runner\{project-name}.vcxproj]
Exception: Build process failed.
Exited (sigterm)
like image 446
aihamhasan Avatar asked Jun 25 '26 21:06

aihamhasan


1 Answers

The issue got resolved after running flutter clean, but i dont know the main cause of this problem

like image 162
aihamhasan Avatar answered Jun 28 '26 15:06

aihamhasan