Reputation: 13
When I open a project in Android
studio, it's giving me an error of Gradle
. What is the problem and what is the solution?
This is my message:
org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':classpath'. at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration.rethrowFailure(DefaultConfiguration.java:918)
... the message is long
Thank you!
Upvotes: 0
Views: 2927
Reputation: 53
I had same problem and finally i resolved it!
After syncing with gradle all files will download properly.
Upvotes: 1
Reputation: 1038
Please synchronize with
classpath 'com.android.tools.build:gradle:3.1.2'
Upvotes: 0