Duplicate class in Kotlin Android

Simply. For me just change this gradle plugins from 1.7.10 to 1.8.0 Then sync. => invalidate caches => build

From:

plugins {
....
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false
}

To:

plugins {
....
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
}

Leave a Comment