Unable do incremental execution: full task run
:packageDebug FAILED
:packageDebug (Thread[Task worker for ':' Thread 5,5,main]) completed. Took 9.637 secs.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':packageDebug'.
> org.gradle.tooling.BuildException (no error message)
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 0s
54 actionable tasks: 4 executed, 50 up-to-date
Expiring Daemon because JVM Tenured space is exhausted
Daemon will be stopped at the end of the build after running out of JVM memory
只需要改如下两个配置即可
来自好友的分享~