title: Android Studio error installing Gradle
body: <p>When I try to build a project on Android Studio, I get this error:</p>
  
  <pre><code>Compilation completed with 1 error and 0 warnings in 9 sec
  1 error
  0 warnings
  org.gradle.tooling.GradleConnectionException: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.: Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'.
  </code></pre>
  
  <p>What can I do to fix it?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>When I look at the Error Log, I saw this:</p>
  
  <pre><code>org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings:
  org.jetbrains.plugins.gradle.settings.GradleSettings cannot be cast to org.jetbrains.plugins.gradle.settings.GradleSettings
  </code></pre>