Android Studio无法使用Gradle发行版'https://services.gradle.org/distributions/gradle-4.4-all.zip'执行构建 [英] Android Studio Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.4-all.zip'
本文介绍了Android Studio无法使用Gradle发行版'https://services.gradle.org/distributions/gradle-4.4-all.zip'执行构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发libgdx游戏.代码已成功编译,但是在运行后,构建失败,并显示如下错误:无法使用Gradle发行版'
I'm developing a libgdx game. The code is compiling successfully, but after hitting run, the build failed, and showing error like this Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.4-all.zip'. Have anyone got solution for this?
推荐答案
希望您已使用最新如果是,请尝试将Gradle版本更新为4.6
If yes try to update your gradle version to 4.6
检查并更新项目中的gradle/wrapper/gradle-wrapper.properties
文件:
Check and update the gradle/wrapper/gradle-wrapper.properties
file in your project :
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
刷新/同步您的gradle项目.
Refresh/sync your gradle project.
这篇关于Android Studio无法使用Gradle发行版'https://services.gradle.org/distributions/gradle-4.4-all.zip'执行构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文