安卓编译 因包体太大 编译失败的解决方案 Unable do incremental execution: full task run

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

只需要改如下两个配置即可

安卓编译 因包体太大 编译失败的解决方案 Unable do incremental execution: full task run_第1张图片

安卓编译 因包体太大 编译失败的解决方案 Unable do incremental execution: full task run_第2张图片

来自好友的分享~

 

你可能感兴趣的:(安卓编译 因包体太大 编译失败的解决方案 Unable do incremental execution: full task run)