Apply:
You can configure Gradle wrapper to use distribution with sources.
It will provide IDE with Gradle API/DSL documentation.
后报错gradle同步失败:
Failed to open zip file.
Gradle’s dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
解决方案:
将all改成bin
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
- 改为:
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-bin.zip
版权声明:本文为u010117864原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。