title: Android Studio Gradle error after update from 0.2.x to 0.3.1
body: <p>I have recently updated my Android Studio from 0.2.9 to 0.3.1 and when I try to compile my project i get the error:</p>
  
  <blockquote>
    <p>org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution '<a href="http://services.gradle.org/distributions/gradle-1.7-bin.zip" rel="nofollow">http://services.gradle.org/distributions/gradle-1.7-bin.zip</a>'.: Could not execute build using Gradle distribution '<a href="http://services.gradle.org/distributions/gradle-1.7-bin.zip" rel="nofollow">http://services.gradle.org/distributions/gradle-1.7-bin.zip</a>'.</p>
  </blockquote>
  
  <p>I have tried to use the terminal and successfully cleaned and rebuilt by using <strong>gradlew clean</strong> and then <strong>gradlew build</strong>. I have even invalidated the caches by using <code>File -&gt; Invalidate Caches / Restart</code> but I still can't build using Android Studio.</p>
  
  <p>Do you have any ideas on why I have this problem and how can I fix it?</p>
  
  <p>Edit #1 : When I go into <code>Settings -&gt; Gradle</code> I get an error: "<code>Gradle location is unknown</code>". Is that the problem? Where should that path point to?</p>