Report an error:
Caused by: $ArtifactResolveException: Could not resolve all artifacts for configuration ‘:classpath'.
reason:
Baidu says it is impossible to download the content in the classpath, it is not clear.
Solution:
Baidu has many methods, but it cannot be solved by a single attempt, and then combine the solutions.
In
buildscript { repositories { google() mavenCentral() jcenter() } dependencies { classpath ':gradle:3.6.1' } } allprojects { repositories { google() maven { url '' } jcenter() } }
Then go to gradle\wrapper\ to change distributionUrl to your local one.
Summarize
This is the article about the error message in the classpath that the android studio 3.6.1 import project cannot be downloaded. This is the end. For more information about the error message in the android studio 3.6.1 import project, please search for my previous articles or continue browsing the related articles below. I hope everyone will support me in the future!