CODEDRAGON ㆍDevelopment/Android
에러메시지
The Android Gradle plugin supports only Kotlin Gradle plugin version x.x.xx and higher. Project 'Projectname' is using version x.x.x-x.
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.2.51 and higher. Project 'Projectname' is using version 1.1.4-2. |
해결방법
build.gradle (Project) 의 코틀린 버전을 상위 버전으로 변경해 줍니다.
buildscript { ext.kotlin_version = '1.1.4-2'
repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.0' classpath 'io.realm:realm-gradle-plugin:2.2.0' classpath 'com.google.gms:google-services:3.1.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }
|
buildscript { ext.kotlin_version = '1.2.71'
repositories { google() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:3.2.0' classpath 'io.realm:realm-gradle-plugin:2.2.0' classpath 'com.google.gms:google-services:3.1.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } }
|
Kotlin - Using Gradle
https://kotlinlang.org/docs/reference/using-gradle.html
'Development > Android' 카테고리의 다른 글
네이티브 앱(Native App) (0) | 2019.01.27 |
---|---|
Could not find com.android.tools.build:gradle:x.x.x. (0) | 2019.01.24 |
SDK Manager, SDK 설치 경로확인 3가지 방법 (0) | 2019.01.06 |
앱에 허용한 권한 해제하기/활성화하기 (0) | 2018.12.30 |
A01 - 안드로이드 기본구조 확인 (0) | 2018.12.22 |