com.android.jack.CommandLine: Internal compiler error
Android studio编译的时候出现错误:
SEVERE: com.android.jack.CommandLine: Internal compiler error
Error:Execution failed for task ':app:transformJackWithJackForDebug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: Error while executing java process with main ...
解决办法:
gradle.properties文件中添加:
org.gradle.jvmargs=-Xmx2048m