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

 

    原文作者:飞剑
    原文地址: https://www.cnblogs.com/feijian/p/6709685.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞