# Facing This issue when flutter Upgraded

**URL:** <https://discuss.gradle.org/t/facing-this-issue-when-flutter-upgraded/41584>\
**Category:** Help/Discuss\
**Created:** [December 2, 2021, 8:03am UTC](https://discuss.gradle.org/t/facing-this-issue-when-flutter-upgraded/41584 "2021-12-02T08:03:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tech1](https://avatars.discourse-cdn.com/v4/letter/t/4bbf92/32.png) [@Tech1](https://discuss.gradle.org/u/Tech1)\
**Post date:** [December 2, 2021, 8:03am UTC](https://discuss.gradle.org/t/facing-this-issue-when-flutter-upgraded/41584/1 "2021-12-02T08:03:21Z")

</div>

Build failed with an exception.

- Where:

Script ‘C:\Users{Username}\flutter\packages\flutter\_tools\gradle\flutter.gradle’ line: 1005

- What went wrong:

Execution failed for task ‘:app:compileFlutterBuildDebug’.

> Process ‘command ‘C:\Users{UserName}\flutter\bin\flutter.bat’’ finished with non-zero exit value 1

- Try:

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](https://help.gradle.org)

BUILD FAILED in 31s

Exception: Gradle task assembleDebug failed with exit code 1
