furkan polat
11/06/2024, 6:25 PMkotlin-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:
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!Chris Lee
11/06/2024, 7:57 PM