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
votes
1 Answers
0
votes
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.