To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
写的很清楚啊 让你给多点内存啊
你的堆内容不足以运行程序,提示让你提升堆内容的容量
试下在gradle.properties文件中,将1536M 改的大些
英文不好的话用有道翻译一下就知道了,解决起来也就知道怎么弄了,好没技术含量啊