title: Android Studio 1.3.2 error when refreshing gradle
body: <p>I generated <code>build.gradle</code> file from eclipse and import it to android studio.</p>
  
  <p>However, it returns error after "refreshing gradle" :</p>
  
  <blockquote>
    <p>Gradle sync failed: Could not find com.android.tools.build:gradle-1.12</p>
  </blockquote>
  
  <p>This is the <code>classpath</code> :</p>
  
  <pre><code>classpath 'com.android.tools.build:gradle-1.12'
  </code></pre>
  
  <p>This is what i have in my gradle directory :</p>
  
  <pre><code>C:\Users\user\.gradle\wrapper\dists\gradle-1.12-all
  </code></pre>
  
  <p>And this is what i have in <code>gradle-wrapper.properties</code> file in my project's root :</p>
  
  <pre><code>distributionBase=GRADLE_USER_HOME
  distributionPath=wrapper/dists
  zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  distributionUrl=https\://services.gradle.org/distributions/gradle-1.12-all.zip
  </code></pre>
  
  <p>This is the error log :</p>
  
  <pre><code>java.io.FileNotFoundException: Unable to find path to Gradle home directory
      at com.android.tools.idea.gradle.util.GradleUtil.stopAllGradleDaemons(GradleUtil.java:462)
  </code></pre>
  
  <p>What should i do?</p>
  
  <p>I have tried to use different internet connections, with/without proxy.</p>
  
  <p>Thanks for your time.</p>