layout-demo-flutter icon indicating copy to clipboard operation
layout-demo-flutter copied to clipboard

FAILURE: Build failed with an exception

Open ddean6232 opened this issue 5 years ago • 3 comments


FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Could not create service of type GeneralCompileCaches using GradleScopeCompileServices.createGeneralCompileCaches().

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org
BUILD FAILED in 31s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

Your code on 'layout-demo-flutter' I have no idea where to start to resolve this... any thoughts??

ddean6232 avatar Oct 10 '19 16:10 ddean6232

I was having the same problem with gradle. So I tried a lot of option but at the end only one thing helped.

  1. Run 'flutter clean'
  2. Restart the pc

this worked for me. Hope it works for you

sahilpatel09 avatar Oct 12 '19 20:10 sahilpatel09

@ddean6232 I updated the project. Can you see if it works now?

bizz84 avatar May 21 '20 14:05 bizz84

I am facing the same issue and tried flutter clean and restart pc. but it did not work.

souravroyrickey avatar Jun 25 '20 13:06 souravroyrickey

Recently updated the Android project.

bizz84 avatar Jan 13 '24 15:01 bizz84