IntelliJ Build Error Context Mismatch

前端 未结 13 1788
梦谈多话
梦谈多话 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 08:02
    1. Create file gradle.properties in folder %USERPROFILE%\.gradle\ (~/.gradle/ on *nix machines)
    2. In this file add string org.gradle.java.home={actual path to jdk} (to know it in MacOS run /usr/libexec/java_home)
    0 讨论(0)
提交回复
热议问题