报错 Error:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradl

来源:互联网 发布:java sleep 用法 编辑:程序博客网 时间:2024/04/28 11:16

http://stackoverflow.com/questions/32887623/errorcould-not-run-build-action-using-gradle-installation-gradle-2-4-android 

上面网址是网上的解决方案,貌似不是理想的解决方案


我是这样解决的

点击AS 中 project structure  在SDK location下面选中Project ,  在后面 修改为你当前AS版本的gradle

我的版本是2.8  和 1.5.0  之前是2.10.0所以报错


4 0