Code: Select all
FAILURE: Build failed with an exception.
* Where:
Settings file '/Users/macbook/Documents/Flutter/Projects/Mine/pesdk-flutter/example/android/settings.gradle.kts' line: 22
* What went wrong:
Plugin [id: 'com.google.devtools.ksp', version: '1.9.23-1.0.16', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.9.23-1.0.16')
Searched in the following repositories:
Google
MavenRepo
Gradle Central Plugin Repository
maven(https://artifactory.img.ly/artifactory/imgly)
Verifiziert, dass die Plugin-Version 1.9.23-1.0.16 mit der Kotlin-Version übereinstimmt. /> < /ul>
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven("https://artifactory.img.ly/artifactory/imgly")
}
}
< /code>
Der Gradle -Cache und wieder aufgebaut. /> Frage < /strong>: < /p>
Wie kann ich den Fehler auflösen, bei dem das KSP -Plugin nach Migration zu Kotlin 1.9.23 nicht gefunden werden kann? Gibt es ein Missverhältnis zwischen Kotlin- und KSP -Versionen oder ein Repository -Problem? Das Ändern von KSP auf 1.0.19 war die Lösung.