I'm having an issue building my project in Android Studio, it was working fine a couple of weeks back, but when I tried to run the project today it fails. Here's the error message I get:
org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.7-bin.zip'.: Could not execute build using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.7-bin.zip'.
A tried a couple of things:
- Re-download the bin.zip file again and replace it in the appropriate folder
- I also tried changing from classpath 'com.android.tools.build:gradle:0.5.+' to just classpath 'com.android.tools.build:gradle:0.5.7', same result.
Any ideas?
EDIT
I ended up uninstalling Android Studio Completely after all. After doing so, I noticed that new projects were now on Gradle 0.6.+, which in turn utilizes gradle-1.8-bin.zip. I updated my build.gradle to the new settings and it finally compiled again.