gradle task assembledebug failed with exit code 1 flutter android studio code example
Example: gradle task assembledebug failed
I bet you will find the answer here. running on linux, windows, mac?
Just check in
https://fluttercorner.com/flutter-app-stuck-at-running-gradle-task-assembledebug/