|
AS导入项目后自动下载gradle会卡死,于是自己用迅雷下载gradle-5.1.1-all.zip替换到相应位置,修改了gradle-wrapper.properties中distributionUrl指向本地gradle,启动AS后报如下一些异常:
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
org.gradle.tooling.BuildException: Could not run phased build action using Gradle distribution 'file:///C:/Users/Administrator/.gradle/wrapper/dists/gradle-5.1.1-all/2gcjf5dwb13hxpil9ju62q0yn/gradle-5.1.1-all.zip'.
Caused by: org.gradle.internal.exceptions.LocationAwareException: Build file 'E:\Works\androidSpace\o2android\app\build.gradle' line: 70
A problem occurred evaluating project ':app'.
Caused by: java.lang.IllegalArgumentException: path may not be null or empty string. path='null' |
|