zl程序教程

您现在的位置是:首页 >  移动开发

当前栏目

com.android.jack.CommandLine: Internal compiler error

Android Error com internal compiler
2023-09-11 14:18:37 时间

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