[에러] Plugin version (1.5.21) is not the same as library version (1.3.72)
2021. 8. 10. 10:48
728x90
계속 아래와 같은 에러가 뜨는게 거슬려서 결국 구글링을 해보았다.
Plugin version (1.5.21) is not the same as library version (1.3.72)
해결 방법:
1. build.gradle(Module:app)
만약 이걸로 잘 안되면 직접 $kotlin_version 부분을 1.5.21 로 변경
dependencies{
...
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
...
}
2. build.gradle(Project) : 버전 1.5.21 로 맞춰줌
buildscript {
ext.kotlin_version = "1.5.21"
repositories {
...
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21"
}
}
참고 자료:
- https://stackoverflow.com/questions/42569445/warning-kotlin-runtime-jar-files-in-the-classpath-should-have-the-same-version
- https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/3346
728x90
'Android Studio > Android' 카테고리의 다른 글
[에러] RequestOptions cannot be converted to GlideOptions (0) | 2021.08.25 |
---|---|
[에러] java.lang.RuntimeException: Unable to instantiate activity ComponentInfo {...} (0) | 2021.08.18 |
[에러] This project uses AndroidX dependencies (0) | 2021.08.10 |
[에러] v/fa inactivity disconnecting from the service (1) | 2021.08.06 |
[에러] llegalStateException: Session is not initialized. Call KakaoSDK#init first. (0) | 2021.08.06 |