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

 

相关文章:

  • 2021-08-06
  • 2021-05-15
  • 2021-12-09
  • 2022-12-23
  • 2021-07-21
  • 2021-05-23
猜你喜欢
  • 2022-12-23
  • 2021-04-03
  • 2021-07-09
  • 2021-06-16
相关资源
相似解决方案