Simply creating a Kotlin Multiplatform project in Android Studio 4.2 Canary 13 does not work

Sorry for my lack of experience in KMM.
It seems like something goes wrong when I attempt to create a new KMM project in AS 4.2 C13.
The Gradle sync will never finish and the build.gradle.kts file in the KMM common module shows the following errors:

Cannot access 'java.lang.Comparable' which is a supertype of 'org.gradle.api.Project'. Check your module classpath for missing or conflicting dependencies
Cannot access 'java.lang.Object' which is a supertype of 'org.gradle.api.Project'. Check your module classpath for missing or conflicting dependencies

I was wondering if anyone else has similar problems by simply creating a new KMM project.

This was fixed by simply updating the KMM plugin and create the project again!

1 Like