title: Network is unreachable: connect
body: <p>After Upgrading to version 0.4.0 of Android Studio, I have started getting the following error when compiling my project:</p>
  
  <pre><code>A problem occurred configuring project ':muve'.
  &gt; Could not resolve all dependencies for configuration ':muve:classpath'.
     &gt; Could not resolve com.android.tools.build:gradle:0.7.+.
       Required by:
           MUVE:muve:unspecified
        &gt; Failed to list versions for com.android.tools.build:gradle:0.7.+.
           &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/build/gradle/'.
                 &gt; Network is unreachable: connect
  </code></pre>
  
  <p>My build.gradle file is:</p>
  
  <pre><code>buildscript {
      repositories {
          maven { url 'http://repo1.maven.org/maven2' }
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.7.+'
      }
  }
  apply plugin: 'android'
  
  repositories {
      mavenCentral()
  }
  
  android {
      compileSdkVersion 18
      buildToolsVersion "19.0.0"
  
      defaultConfig {
          minSdkVersion 11
          targetSdkVersion 18
          versionCode 1
          versionName "1.0"
      }
      buildTypes {
          release {
              runProguard false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  
  dependencies {
      compile 'com.android.support:appcompat-v7:+'
  }
  </code></pre>
  
  <p>I am at a loss on how to resolve the issue.  Any help would be highly appreciated.</p>
  
  <p>Thanks</p>