0

Script 'C:\Users\Kevin Ojeda\Documents\development\sdks\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1159

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

Process 'command 'C:\Users\Kevin Ojeda\Documents\development\sdks\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.

BUILD FAILED in 18s Exception: Gradle task assembleDebug failed with exit code 1

So far I've tried most of the solutions suggested in this site from other users with similar errors to no avail.

I did check the flutter.bat file and apparently there are large chunks of it with errors. The errors are mostly single letters tho so I have no idea how to interpret that.

3
  • Does any answer from this question works? stackoverflow.com/questions/54552962/… Commented Nov 17, 2022 at 9:06
  • Did you try flutter clean and flutter pub get and removing the application from your device and try to run in again? Commented Nov 17, 2022 at 9:13
  • OMiShah yeah I tried all of them. None of them worked. Md.Kamrul Amin. Tried that as well. No luck. Commented Nov 17, 2022 at 9:17

1 Answer 1

0

usually the problem is due to different versions of flutter. you can check similar case here

Sign up to request clarification or add additional context in comments.

1 Comment

How do I know if I'm using the correct version of flutter though?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.