Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules jetified-kotlin-stdlib-1.8.0 (org.jetbrains.kotlin:kotlin-stdlib:1.8.0) and jetified-kotlin-stdlib-jdk8-1.6.0
This error occurs when you have two or more dependencies in your project that contain the same class, in this case, kotlin.collections.jdk8.CollectionsJDK8Kt. The specific dependencies causing the issue are org.jetbrains.kotlin:kotlin-stdlib:1.8.0 and org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.0. These dependencies have overlapping classes, causing a conflict in the build process. To resolve the issue, you should use only one version of … Read more