Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FAILURE: Build failed with an exception. flutter.gradle' line: 904

Tags:

flutter

FAILURE: Build failed with an exception.

  • Where: Script 'C:\src\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904

  • What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command 'C:\src\flutter\bin\flutter.bat'' finished with non-zero exit value 1

I tried flutter clean / pug get and update but application is still not working.

like image 653
Hasan Basri Ğakava Avatar asked Sep 26 '20 10:09

Hasan Basri Ğakava


1 Answers

Try this:

flutter clean

flutter pub get

Once these two commands have been successfully executed, launch your project ... This is what I did and it worked.

like image 186
Roger Mutoto Manu Avatar answered Oct 05 '22 12:10

Roger Mutoto Manu