Search code examples
androidandroid-studiokotlingradle-kotlin-dslkotlin-android-extensions

#Kotlin Could not resolve all files for configuration ':app:debugRuntimeClasspath'


I searched a lot, but I don't have a solution for this error:

Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

Error

build.gradle(Module): gradle module

build.gradle(Project): gradle project

Do you have a solution for this?


Solution

  • in Build Gradle (Module), Remove kotlin-android-extensions on line 41 because kotlin-android-extensions is already added above. I had the same problem with room and coroutines now and this method worked