Help Needed: Build Fails Due to Missing `kotlin-bu...
# flutter
f
Help Needed: Build Fails Due to Missing
kotlin-build-tools-impl:1.8.0
Dependency Hi everyone, I'm encountering a persistent build failure when running my Flutter app on Android. Here’s the error message:
Copy code
Execution failed for task ':app:compileDebugKotlin'.
> Could not find org.jetbrains.kotlin:kotlin-build-tools-impl:1.8.0.
   Searched in the following locations:
     - <https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-build-tools-impl/1.8.0/kotlin-build-tools-impl-1.8.0.pom>
     - <https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-build-tools-impl/1.8.0/kotlin-build-tools-impl-1.8.0.pom>
     - <https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-build-tools-impl/1.8.0/kotlin-build-tools-impl-1.8.0.pom>
What I’ve Tried So Far: 1. Updated Kotlin and Android Gradle plugin versions in
build.gradle
. 2. Ran
flutter clean
and
./gradlew clean
followed by
flutter pub get
and
flutter run
. 3. Tried using
./gradlew build --refresh-dependencies
in the
android
folder. 4. Suppressed unsupported SDK warnings in
gradle.properties
. Environment: • Flutter Version: [Your Flutter version, e.g., 3.10.5] • Kotlin Version: 1.8.0 • Android Gradle Plugin Version: 7.3.0 • Gradle Version: 8.1 Despite these efforts, I keep running into the same error. Has anyone experienced this before or have suggestions on how to resolve it? Any guidance would be greatly appreciated! Thanks in advance!
c
have you checked the dependency configuration? None of the three listed URLs exist - are the coordinates / version correct?