,同一问题
在创建Android build with pown command时 ./gradlew assembleRelease
它失败了以下错误:
FAILURE: Build failed with an exception.
* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher.
The following dependencies do not satisfy the required version:
project ':awesome-project' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71
如果我尝试清洁Android构建./gradlew assembleRelease
您可以在项目级别build.gradle文件中更新kotlin版本。如果将其配置为通常的方式,则应在顶部附近有以下行:
ext.kotlin_version = '1.1.2'
要升级到匹配插件的版本,只需将此行更改为:
ext.kotlin_version = '1.1.2-3'