title: Could not find com.andorid.tools.build:gradle:3.0.0-beta2
body: <p>I am not able to solve the issue of associated with the gradle file.For Solving this issue i have downloaded the android studio 3.0 beta 6, in which the project is not builded. And in Android studio 2.3.2 following issue came</p>
  
  <p><strong>top level gradle</strong></p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:3.0.0-beta6'
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
          classpath 'com.google.gms:google-services:3.1.0'
          classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
      }
  }
  
  allprojects {
      repositories {
          jcenter()
          maven { url "https://maven.google.com" }
          maven { url 'https://jitpack.io' }
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p><strong>issues</strong></p>
  
  <pre><code>Error:Could not find com.android.tools.build:gradle:3.0.0-beta2.
  Searched in the following locations:
      file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/3.0.0-beta2/gradle-3.0.0-beta2.pom
      file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/android/tools/build/gradle/3.0.0-beta2/gradle-3.0.0-beta2.jar
      https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0-beta2/gradle-3.0.0-beta2.pom
      https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0-beta2/gradle-3.0.0-beta2.jar
      https://repo1.maven.org/maven2/com/android/tools/build/gradle/3.0.0-beta2/gradle-3.0.0-beta2.pom
      https://repo1.maven.org/maven2/com/android/tools/build/gradle/3.0.0-beta2/gradle-3.0.0-beta2.jar
  Required by:
      project :
  </code></pre>
  
  <p><strong>EDIT:</strong><br>
  Just added the google maven repo:</p>
  
  <p><strong>top level gradle</strong></p>
  
  <pre><code>buildscript {
      repositories {
          jcenter()
          mavenCentral()
          maven { url "https://maven.google.com" }
      }
      dependencies {
  //        classpath 'com.android.tools.build:gradle:3.0.0-beta6'
  
          classpath 'com.android.tools.build:gradle:3.0.0-beta6'
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
          classpath 'com.google.gms:google-services:3.1.0'
          classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
      }
  }
  
  //allprojects {
  //    repositories {
  //        jcenter()
  //        maven { url "https://maven.google.com" }
  //        maven { url 'https://jitpack.io' }
  //    }
  //}
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  
  <p><strong>Gradle wrapper</strong></p>
  
  <pre><code>distributionBase=GRADLE_USER_HOME
  distributionPath=wrapper/dists
  zipStoreBase=GRADLE_USER_HOME
  zipStorePath=wrapper/dists
  distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
  #distributionUrl= https\://services.gradle.org/distributions/gradle-4.1-rc-1-all.zip
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/uspcm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uspcm.png" alt="enter image description here"></a></p>
  
  <p><strong>EDIT:</strong><br>
  Just after uncommenting the <code>allproject</code> block</p>
  
  <p><strong>error</strong>
  <a href="https://i.stack.imgur.com/Bu6hf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bu6hf.png" alt="enter image description here"></a>
  How can this issue be solved? I have watched many solution on stack but not able to solve this issue</p>