title: Cordova won't compile android: classpath dependancy gradle 2.2.0 Alpha1
body: <p>I'm afraid this won't be a well-formed question, because I don't even know where to begin. Updated my Android platform to 5.1.1. Attempted to run <strong>cordova build android</strong> but it spits an error: </p>
  
  <blockquote>
    <ul>
    <li>What went wrong:
    A problem occurred configuring root project 'android'.
    Could not resolve all dependencies for configuration ':classpath'.
    Could not find com.android.tools.build:gradle:2.2.0-alpha1.
     Searched in the following locations:
         <a href="https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0-alpha1/gradle-2.2.0-alpha1.pom" rel="nofollow">https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0-alpha1/gradle-2.2.0-alpha1.pom</a>
         <a href="https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0-alpha1/gradle-2.2.0-alpha1.jar" rel="nofollow">https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.0-alpha1/gradle-2.2.0-alpha1.jar</a>
     Required by:
         :android:unspecified</li>
    </ul>
  </blockquote>
  
  <p>If I poke around at <a href="https://repo1.maven.org/maven2/com/android/tools/build/gradle" rel="nofollow">https://repo1.maven.org/maven2/com/android/tools/build/gradle</a> I see indeed, there is no 2.2.0 directory. But I'm a newb to dependancies and the Android platform, and that "Unspecified" doesn't give me a clue where to begin looking for the problem let alone how to fix it. </p>
  
  <p>My Gradle Wrapper:</p>
  
  <pre><code>distributionBase=GRADLE_USER_HOME
  distributionPath=wrapper/dists
  zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  distributionUrl=http\://services.gradle.org/distributions/gradle-2.2.1-all.zip
  </code></pre>
  
  <p>I tried changing that 2.2.1 to 2.2.0 but nope -- that dog didn't bite. And there's this in my build.gradle:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
  
      dependencies {
          classpath 'com.android.tools.build:gradle:2.2.0-alpha1'
  
      }
  </code></pre>
  
  <p>My plugins are:</p>
  
  <pre><code>cordova-plugin-device 1.1.1 "Device"
  cordova-plugin-google-analytics 0.8.1 "Google Universal Analytics Plugin"
  cordova-plugin-googleplayservices 19.0.3 "Google Play Services for Android"
  cordova-plugin-inappbrowser 1.3.0 "InAppBrowser"
  cordova-plugin-splashscreen 4.0.0 "Splashscreen"
  cordova-plugin-statusbar 2.1.2 "StatusBar"
  nl.x-services.plugins.socialsharing 5.0.11 "SocialSharing"
  </code></pre>