title: how to solve "Execution failed for task ':app:compileFlutterBuildDebug"
body: <p>I was trying to run my Flutter app and this shows up:</p>
  <p>I do flutter clean, I delete pubspec.lock</p>
  <p>FAILURE: Build failed with an exception.</p>
  <ul>
  <li><p>Where:
  Script '/Users/mac/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1005</p>
  </li>
  <li><p>What went wrong:
  Execution failed for task ':app:compileFlutterBuildDebug'.</p>
  </li>
  </ul>
  <blockquote>
  <p>Process 'command '/Users/mac/development/flutter/bin/flutter'' finished with non-zero exit value 1</p>
  </blockquote>
  <ul>
  <li><p>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.</p>
  </li>
  <li><p>Get more help at <a href="https://help.gradle.org" rel="nofollow noreferrer">https://help.gradle.org</a></p>
  </li>
  </ul>
  <p>BUILD FAILED in 21s
  Exception: Gradle task assembleDebug failed with exit code 1</p>