Discuz! Board

标题: windows android studio编译程序出错误 [打印本页]

作者: zangcf    时间: 2016-8-13 22:08
标题: windows android studio编译程序出错误
  1. To run dex in process, the Gradle daemon needs a larger heap.
  2. It currently has approximately 910 MB.
  3. For faster builds, increase the maximum heap size for the Gradle daemon to more than 2048 MB.
  4. To do this set org.gradle.jvmargs=-Xmx2048M in the project gradle.properties.
复制代码

======================================
原因
在使用Gradle编译的时候,编译内存不足导致。
解决方法
在项目的根目录中进行修改。修改gradle.properties,
set org.gradle.jvmargs=-Xmx2048M。
修改后该问题得已解决。






欢迎光临 Discuz! Board (http://47.89.242.157:9000/bbs/discuz/) Powered by Discuz! X3.2