1.找到gradle-wrapper.properties文件,把distributionUrl=http://services.gradle.org/distributions/gradle-4.1-all.zip这个默认是https 改成http就行
2. 找到项目的build.gradle 全部把 jcenter() 全部改成 jcenter(){url 'http://jcenter.bintray.com/'}
1.找到gradle-wrapper.properties文件,把distributionUrl=http://services.gradle.org/distributions/gradle-4.1-all.zip这个默认是https 改成http就行
2. 找到项目的build.gradle 全部把 jcenter() 全部改成 jcenter(){url 'http://jcenter.bintray.com/'}