- 삽질방지

[Android] execution failed for task ':app:checkdebugduplicateclasses'. 에러

junn__ 2023. 2. 9. 15:39
반응형

중복 클래스 오류

 

kotlin-stdlib 버전 문제

 


시도1

gradle.properties

android.enableJetifier=true
android.useAndroidX=true

시도2

File - Invalidate Caches - INVALIDATE AND RESTART

 

Invalidate Caches


해결

build.gradle(:app)

configurations.all {
	...
    details.useVersion "1.6.+"
    // 1.+ -> 1.6+로 변경
}
반응형