【Kotlin】集成与运行错误的解决 Execution failed for task ‘:app:compileDebugKotlin’.

Error:Execution failed for task ‘:app:compileDebugKotlin’. > Compilation error. See log for more details

dependencies {
    compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}

一定注意不要加 jdk版本

ext.kotlin_version = "1.1.2"

注意看一下你的版本号

猜你喜欢

转载自blog.csdn.net/sinat_30220049/article/details/102569303