title: Android Studio cannot find com.android.tools.build:grade:2.10
body: <p>Having resolved an error thanks to tihs <a href="https://stackoverflow.com/questions/34814368/gradle-version-2-10-is-required-error">'Gradle Version 2.10 is required'</a> post. I'm not getting a new error.</p>
  
  <p>I've been trying to follow answers <a href="https://stackoverflow.com/questions/34157716/android-studio-could-not-find-com-android-tools-buildgradle2-0-0-alpha2">like this one</a> but nothing I try seems to work.  I wonder if this is because I'm on a later version of gradle and Android Studio.  I'm still getting this error in Android Studio</p>
  
  <pre><code>Error:Could not find com.android.tools.build:gradle:2.10.
  Searched in the following locations:
  file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/tools/build/gradle/2.10/gradle-2.10.pom
  file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/android/tools/build/gradle/2.10/gradle-2.10.jar
  https://jcenter.bintray.com/com/android/tools/build/gradle/2.10/gradle-2.10.pom
  https://jcenter.bintray.com/com/android/tools/build/gradle/2.10/gradle-2.10.jar
  Required by:
  :android:unspecified
  </code></pre>
  
  <p>I've updated my <code>build.gradle</code> file to include:</p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:2.10'
      }
  }
  </code></pre>
  
  <p>And <code>gradle-wrapper.properties</code> to</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.10-all.zip
  </code></pre>
  
  <p>I'm at a loss of what to try next.  This is app build on the Ionic framework (using cordova).  the <code>ionic build android</code> command results in the same error too.</p>
  
  <p>I'm using a Mac and Android Studio 2.1</p>