Android Studio says: duplicate class found and not able to build

While I was trying to build an android project on latest Android studio that is: Android Studio Flamingo | 2022.2.1 Patch 2 Build #AI-222.4459.24.2221.10121639, built on May 12, 2023 Runtime version: 17.0.6+0-b2043.56-9586694 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. I got the below error: “Duplicate class found” Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules…

Read More