title: Gradle project refresh failed (AS 0.8.2, Mac)
body: <p>With a blank new project, I get this:</p>
  
  <pre><code>Gradle 'HelloWorld' project refresh failed
      Error:Cause: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
  </code></pre>
  
  <p>When trying to build I get the following Gradle Build error:</p>
  
  <pre><code>Error:A problem occurred configuring root project 'HelloWorld'.
  &gt; Could not resolve all dependencies for configuration ':classpath'.
     &gt; Could not resolve com.android.tools.build:gradle:0.12.+.
       Required by:
           :HelloWorld:unspecified
        &gt; org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
  </code></pre>
  
  <p>This is a fresh installation of Android Studio, and my build.gradle looks like:</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.12.+'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  </code></pre>
  
  <p>The first lines of the relevant log error are:</p>
  
  <pre><code>org.gradle.tooling.BuildException: Could not run build action using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.12-all.zip'.
  Caused by: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring root project 'HelloWorld'.
  Caused by: org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'HelloWorld'.
  Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':classpath'.
  Caused by: org.gradle.api.internal.artifacts.ivyservice.ModuleVersionResolveException: Could not resolve com.android.tools.build:gradle:0.12.+.
  Caused by: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
  </code></pre>
  
  <p>The project structure is just the default for a new project with a blank activity:</p>
  
  <p><img src="https://i.stack.imgur.com/m8kRm.png" alt="Project structure screenshot"></p>