title: Build using gradle in cmd fail
body: <p><strong>Error message</strong></p>
  
  <pre><code>Error listing versions of com.android.tools.build:gradle:0.4+ using class org.gradle.api.internal.artifacts.repositories.resolver.MavenVersionLister$1. Will attempt an alternate way to list versions. This behaviour has been deprecated and is scheduled to be removed in Gradle 2.0
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  A problem occurred configuring root project 'TestMain'.
  &gt; Could not resolve all dependencies for configuration ':classpath'.
  
     &gt; Could not resolve com.android.tools.build:gradle:0.4+.
  
       Required by:
  
         :TestMain:unspecified
  &gt; Failed to list versions for com.android.tools.build:gradle:0.4+.
  
        &gt; Could not list versions using M2 pattern 'http://repo1.maven.org/maven2/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]
  '.
              &gt; Could not GET 'http://repo1.maven.org/maven2/com/android/tools/bui
  ld/gradle/'.
                 &gt; Connection to http://repo1.maven.org refused
  </code></pre>
  
  <p>Am i using incorrect sdk?</p>