- 错误
Gradle 'Android-USB-OTG-Camera' project refresh failed
Error: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,distributionUrl修改为:
distributionUrl=https\://downloads.gradle-dn.com/distributions/gradle-3.3-all.zip
- 解决办法二
手动下载并替换相应版本zip。