Kotlin could not find the required JDK tools in the Java installation

前端 未结 5 1691
面向向阳花
面向向阳花 2020-12-20 11:11

When running ./gradlew clean build I get following message:

> Task :compileKotlin FAILED

FAILURE: Build failed with an exception.

* What we         


        
5条回答
  •  死守一世寂寞
    2020-12-20 12:00

    On windows, add this to gradle.properties, with your jdk version

    org.gradle.java.home=C:\\Program Files\\Java\\jdk1.8.0_102
    

提交回复
热议问题