Was kann ich bei folgendem Fehler in Android Studio machen?

2 Antworten

PHind meint: "The error "Unknown Kotlin JVM target: 20" is caused because the Kotlin compiler does not recognize the target JVM version specified in your project's configuration. According to the Kotlin compiler options, the valid JVM target versions are 1.6, 1.8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, and 19 kotlinlang.org. Therefore, setting the JVM target to 20 is not currently supported."

kotlinOptions {
   jvmTarget = JavaVersion.VERSION_17
}