“Error:Failed to complete Gradle execution. Cause: Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)”

Pinkesh Darji Source

I am using Ubuntu 16.04 and Android studio 2.3.3

I have already tried these:

  • android.enableAapt2=false (Did not work)
  • Hep -> edit custom vm option -> -Xmx2g (Did not work)
  • org.gradle.daemon=false (Did not work)
  • Invalidate Caches / Restart (Did not work)

Did I miss something?

I am able to just build/make project but this only occures while trying to run the app in emulator or device.



comments powered by Disqus