Uni_Links: ^0.5
Code: Select all
buildscript {
ext.kotlin_version = '2.1.21'
repositories {
google()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
< /code>
settings.gradle:
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.3.2" apply false
// START: FlutterFire Configuration
id "com.google.gms.google-services" version "4.3.15" apply false
id "com.google.firebase.crashlytics" version "2.8.1" apply false
// END: FlutterFire Configuration
id "org.jetbrains.kotlin.android" version "2.1.21" apply false
}
< /code>
Ich habe meinen Gradle-Wrapper aktualisiert. Properties:
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
< /code>
Aber ich sehe diesen Fehler immer wieder: < /p>
was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.
:uni_links:verifyReleaseResources'. BUILD FAILED in 36s Running Gradle task 'assembleRelease'...
[!] Your project requires a newer version of the Kotlin Gradle plugin.
//idk if this matters
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17
}