versions: 1.6, 1.8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
Task :app:compileDebugKotlin FAILED
FAILURE: Build...See log for more details
完整报错信息 :
> Task :app:compileDebugKotlin
'compileDebugJavaWithJavac' task (current...* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugKotlin...* Get more help at https://help.gradle.org
BUILD FAILED in 2m 2s
30 actionable tasks: 30 executed...versions: 1.6, 1.8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
在 Settings 设置中 , 设置的 JDK 版本是 11 版本的 ;
在 build.gradle