Android Studio Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-4.4-all.zip'

自闭症网瘾萝莉.ら 提交于 2019-12-13 19:52:15

问题


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?


回答1:


Hopefully you've created your LibGDX project using gdx-setup.jar of latest build.

If yes try to update your gradle version to 4.6

Check and update the gradle/wrapper/gradle-wrapper.properties file in your project :

distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

Refresh/sync your gradle project.



来源:https://stackoverflow.com/questions/51949721/android-studio-could-not-execute-build-using-gradle-distribution-https-servic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!