参考别的项目总要自己部署,但是AS因为版本问题配置文件一类的一般很难一次导入没有错误,以下是我的报错挣扎笔记,参考了很多别人的博客对策,自己整理一份借鉴参考,希望能帮助到无助的同类。
①gradle的版本zip,报错如下:
Failed to open zip file.
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
Re-download dependencies and sync project (requires network)
基本上所有的解决方案都是修改gradle-wrapper.properties里gradle的版本zip没有下载