Useful or not, from you.
flutter 'G:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 904 Build Error

Please Help me with this error, it sucks like die. Have been changing flutter SDK 1.20.0 to 1.22.4. but still have the same issue. It's been 3 months that I can't code with Flutter

That's a useful answer
Without any help

The ERROR that I get

PS C:\Users\HP\Documents\IT Classroom\Information Technology Projects\Flutter\verypass> flutter run Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering". Launching lib\main.dart on Android SDK built for x86 in debug mode...

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

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 31s Running Gradle task 'assembleDebug'... Done 93.7s Exception: Gradle task assembleDebug failed with exit code 1 PS C:\Users\HP\Documents\IT Classroom\Information Technology Projects\Flutter\verypass> flutter verbose Could not find a command named "verbose".

Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and
options.