com.android.jack.CommandLine: Internal compiler error

Android studio編譯的時候出現錯誤:java

SEVERE: com.android.jack.CommandLine: Internal compiler errorandroid

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 ...

 

解決辦法:api

gradle.properties文件中添加:app

org.gradle.jvmargs=-Xmx2048m
相關文章
相關標籤/搜索