title: Could not find com.android.tools.build:gradle:2.3.3
body: <p>I am getting this error during gradle build in android studio. And I am unable to figure out what I am missing.</p>
  
  <p>Error:Could not find com.android.tools.build:gradle:2.3.3. Searched in the 
      following locations:
      file:/C:/Program Files/Android/Android 
      Studio/gradle/m2repository/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom<br>
      file:/C:/Program Files/Android/Android 
      Studio/gradle/m2repository/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.jar<br>
      <a href="https://maven.google.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom" rel="nofollow noreferrer">https://maven.google.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.pom</a><br>
      <a href="https://maven.google.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.jar" rel="nofollow noreferrer">https://maven.google.com/com/android/tools/build/gradle/2.3.3/gradle-2.3.3.jar</a></p>
  
  <p>Here is my <code>build.gradle</code>file configuration</p>
  
  <pre><code>`
  all sub-projects/modules.
      allprojects {
          repositories {
              jcenter()
              maven {
                  url "https://maven.google.com"
              }
              maven {
                  url 'https://jitpack.io'
              }
          }
      }
  
      buildscript {
          dependencies {
              classpath 'com.android.tools.build:gradle:2.3.3'
          }
          repositories {
              maven {
                  url 'https://maven.google.com/'
                  name 'Google'
              }
          }
      }
  
      ext {
          supportlib_version = '26.0.2'
          gps_version = '11.2.0'
      }
  
      //Ensure that all dependencies use the same version of the Android Support library
      subprojects {
          project.configurations.all {
              resolutionStrategy.eachDependency { details -&gt;
                  if (details.requested.group == 'com.android.support'
                          &amp;&amp; !details.requested.name.contains('multidex')) {
                      details.useVersion "$supportlib_version"
                  }
                  if (details.requested.group == 'com.google.android.gms'
                          &amp;&amp; !details.requested.name.contains('multidex')) {
                      details.useVersion "$gps_version"
                  }
              }
          }
      }
  
      allprojects {
          repositories {
              jcenter()
              maven {
                  url 'https://maven.google.com/'
                  name 'Google'
              }
          }
      }
  `
  </code></pre>
  
  <p>Could you help me what am I missing?</p>