[에러] 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"
    }
}

 

참고 자료:

 

Plugin version (1.4.10) is not the same as library version (1.3.72) · Issue #3346 · CymChad/BaseRecyclerViewAdapterHelper

升级 AndroidStudio 4.1,升级 kotlin plugin 1.4.10 后,引入 BaseRecyclerViewAdapterHelper 会有警告: Plugin version (1.4.10) is not the same as library version (1.3.72) project build.gradle: buildscript { ext.kot...

github.com

 

728x90

BELATED ARTICLES

more