New Gradle Sync is not supported due to containing Kotlin modules using an unsupported plugin version
Faced this same error. I had to update my JVM Version in Kotlin Compiler settings.
You can find that setting here: File -> Settings -> Kotlin Compiler -> Target JVM Version
Changing to 1.8
fixed the issue.
Update Kotlin Plugin
I could be that your IDE has an older level of the Kotlin plugin.
Within Android Studio, got to File
> Settings...
> Kotlin
and check to make sure your plugin is up to date. You may see something like this, indicating you need to update:
Also, if you run into memory issues, you may need to add org.gradle.jvmargs=-Xms1024m -Xmx4096m
to the gradle.properties
file.
File -> settings ->kotlin compiler->Target JVM version(update it)
This is what solved it for me in a kotlin multiplatform js/jvm/android/iOS project... took days to solve, why or how I do not know but I am greatful.