android首次运行编译不通过

Failed to open zip file. Gradle's dependency cache may be corrupt。。。

 

解决方法

 

gradle-wrapper.properties  配置文件

distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
修改为
distributionUrl=http\://services.gradle.org/distributions/gradle-4.4-all.zip
posted @ 2018-07-31 23:25  lobtao  阅读(125)  评论(0)    收藏  举报