android studio 编译异常问题:Cause: https://downloads.gradle.org/distributions/gradle-4-all.zip
来源:互联网 发布:永衣连体淘宝 编辑:程序博客网 时间:2024/05/16 14:18
编译一个新的工程的时候出现如下问题
Error:Cause: https://downloads.gradle.org/distributions/gradle-4-all.zip
打开:gradle-wrapper.properties
原来的路径:
https://services.gradle.org/distributions/gradle-4-all.zip
打开链接:
Gradle Distributions http://services.gradle.org/distributions/
发现是路径名字错了,并没有gradle-4-all.zip这个zip,从列表中选择一个zip文件。
修改后的路径:
https://services.gradle.org/distributions/gradle-4.0.1-all.zip
然后File — invilidate Caches/Restart 清除缓存,重启。
然后就可以正常编译了。
注:下载zip的过程中可能需要翻墙。
阅读全文
0 0
- android studio 编译异常问题:Cause: https://downloads.gradle.org/distributions/gradle-4-all.zip
- 问题:Error:Cause: https://downloads.gradle.org/distributions/gradl...
- Error:Cause: https://downloads.gradle.org/distributions/gradle
- adnroid studio卡在Gradle:Download https://services.gradle.org/distributions/gradle-3.2-all.zip解决办法
- adnroid studio卡在Gradle:Download https://services.gradle.org/distributions/gradle-3.2-all.zip解决办法
- https://services.gradle.org/distributions/gradle-2.14.1-all.zip
- 打包的时候 adnroid studio卡在Gradle:Download https://services.gradle.org/distributions/gradle-2.4-all.zip解
- Android Studio Unknown host 'downloads.gradle.org'
- Android Studio Unknown host ‘downloads.gradle.org’
- Android studio Gradle Distributions
- Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-3.3-all
- Error:Gradle distribution 'https://services.gradle.org/distributions/gradle-3.3-all.zi
- Unknown host 'downloads.gradle.org'问题修改
- Android Studio编译问题:ProcessException: org.gradle.process.internal.ExecException
- Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-xx-all
- Error:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle
- Error:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2
- Error:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2
- [effectiv c++]条款20:pass-by-reference-to-const 与 pass-by-value(解决slicing问题)
- JQuery学习笔记整理:工具类
- 使用gulp进行简单的分环境配置
- CentOS 7 ORACLE 11g 11.2.0.4 安装
- java反射
- android studio 编译异常问题:Cause: https://downloads.gradle.org/distributions/gradle-4-all.zip
- 值得推荐的C/C++框架和库 (真的很强大)
- JAVA中获取当前系统时间
- win10 64位,anacoda2,python 2.7 下安装xgboost
- [effectiv c++]条款21:返回reference 与 返回object
- 【Java学习】从源码层面彻底搞懂HashMap(Java8)
- 数据结构之线性表
- Android新浪微博分享
- 1173:寻找2的幂