IntelliJ Build Error Context Mismatch

前端 未结 13 1814
梦谈多话
梦谈多话 2020-11-30 07:34

I want to use IntelliJ IDEA 15 instead of Android Studio, but I have a problem with building. I get the following error:

Gradle sync failed: The newly create         


        
13条回答
  •  庸人自扰
    2020-11-30 07:36

    Add below in your gradle.propetries

    org.gradle.java.home=${sdk_path}

    for example:

    org.gradle.java.home=C:\Program Files (x86)\Java\jdk1.8.0_121

    Otherwise if you have memory heap warning.

    Please also add gradle.properties with below: org.gradle.jvmargs=-Xmx512m

提交回复
热议问题