Gradle Error org.gradle.api.internal.artifacts

Hello guys,
When I’m trying to run my app, I got this error:

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

I searched it and I tried to fix using what I found on Google, but unfortunately nothing works for my app.
Can someone explain me what exactly means and how could I fix it?

Noone probably can unless you provide the full error and not just one line.

If you are using IntelliJ you might easily miss it due to this annoyance: https://youtrack.jetbrains.com/issue/IDEA-226613/Gradle-build-on-failed-build-IDE-auto-focuses-and-shows-incomplete-error-message-which-makes-it-hard-to-understand-why-build so you need to select a higher node in the tree to see the actual error details.