Could not resolve all dependencies for configuration

时间:2023-01-26 20:28:44
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not download commons-lang3.jar (org.apache.commons:commons-lang3:3.3.2)
      > Could not get resource 'http://jcenter.bintray.com/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar
'.                          
         > Connection reset 
                            
* Try:                      

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


由于网络慢,吃吃下载不了所造成的,直接去其他地方下载所需要的:gradle-xx.xx-all.zip文件,然后放入:

C:\Users\Administrator\.gradle\wrapper\dists\gradle-2.8-all\ah86jmo43de9lfa8xg9ux3c4h 目录下

(我这里需要的是gradle-2.8-all.zip如果是其他文件就放入对应的文件夹下面,后解压),

查看自己所需的gradle文件版本:

Could not resolve all dependencies for configuration


Could not resolve all dependencies for configuration


Could not resolve all dependencies for configuration



2. 

Could not resolve all dependencies for configuration