title: Gradle sync failed: Failed to update Android plugin to version '2.0.0'
body: <p>I've recently updated Android Studio to 2.0.  I am working on a part time course and I have to work on a project provided.  When gradle tried to build the project a dialog popped up asking me to update the android studio gradle plugin.  When I clicked update, I got an error which is in the title.</p>
  
  <p>My gradle files are as follows: </p>
  
  <p>Gradle Wrapper:</p>
  
  <pre><code>#Wed Sep 30 11:56:02 PDT 2015
  distributionBase=GRADLE_USER_HOME
  distributionPath=wrapper/dists
  zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  distributionUrl=http\://services.gradle.org/distributions/gradle-2.2-bin.zip
  </code></pre>
  
  <p>Module Gradle:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  apply plugin: 'android-apt'
  
  android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"
  
    defaultConfig {
      applicationId "com.example.sam_chordas.stockhawk"
      minSdkVersion 15
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
    }
    buildTypes {
      release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
    }
  }
  
  repositories {
    maven { url "https://jitpack.io" }
  }
  
  dependencies {
  
    compile 'com.google.android.gms:play-services-gcm:8.4.0'
    compile 'com.squareup.okhttp:okhttp:2.5.0'
    apt 'net.simonvt.schematic:schematic-compiler:0.6.3'
    compile 'net.simonvt.schematic:schematic:0.6.3'
    compile 'com.melnykov:floatingactionbutton:1.2.0'
    compile 'com.android.support:design:23.1.1'
    compile('com.github.afollestad.material-dialogs:core:0.8.5.7@aar') {
      transitive = true
    }
  }
  </code></pre>
  
  <p>Project Gradle:</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
    repositories {
      jcenter()
      mavenCentral()
    }
    dependencies {
      classpath 'com.neenbedankt.gradle.plugins:android-apt:1.2'
      classpath 'com.google.gms:google-services:1.4.0-beta3'
  
  
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
    }
  }
  
  allprojects {
    repositories {
      jcenter()
    }
  }
  </code></pre>
  
  <p>I'm unable to work on the project as I'm unable to build it.  If anyone has had any issues like this and fixed it I'd really appreciate some help as I'm wasting a lot of time.  I should mention that this is a windows 7 machine.</p>
  
  <p>Thanks</p>