title: keep getting an error when I open android studio
body: <p>I recently installed Android Studio and when ever I start a new Project no matter what I keep getting this error :</p>
  <pre><code>Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/4.2.0-beta03/gradle-4.2.0-beta03.pom'. Received status code 403 from server: Forbidden
  Disable Gradle 'offline mode' and sync project.
  </code></pre>
  <p>and offline mode doesn't work either . I really ran out of ideas . if anyone can help me please do. thanks.
  this is my build gradle :</p>
  <pre><code>    plugins {
      id 'com.android.application'
  }
  
  android {
      compileSdkVersion 30
      buildToolsVersion &quot;30.0.3&quot;
  
      defaultConfig {
          applicationId &quot;com.example.myapplication&quot;
          minSdkVersion 16
          targetSdkVersion 30
          versionCode 1
          versionName &quot;1.0&quot;
  
          testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
  }
  
  dependencies {
  
      implementation 'androidx.appcompat:appcompat:1.2.0'
      implementation 'com.google.android.material:material:1.2.1'
      implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
      testImplementation 'junit:junit:4.+'
      androidTestImplementation 'androidx.test.ext:junit:1.1.2'
      androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  }
  </code></pre>
  <p>and this is build.gradle :</p>
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      repositories {
          google()
          jcenter()
      }
      dependencies {
          classpath &quot;com.android.tools.build:gradle:4.2.0-beta03&quot;
  
          // NOTE: Do not place your application dependencies here; they belong
          // in the individual module build.gradle files
      }
  }
  
  allprojects {
      repositories {
          google()
          jcenter()
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  <p>and when I'm clicking on Offline mode this error appears :</p>
  <pre><code>A problem occurred configuring root project 'My Application'.
  &gt; Could not resolve all artifacts for configuration ':classpath'.
     &gt; Could not resolve com.android.tools.build:gradle:4.2.0-beta03.
       Required by:
           project :
        &gt; No cached version of com.android.tools.build:gradle:4.2.0-beta03 available for offline mode.
        &gt; No cached version of com.android.tools.build:gradle:4.2.0-beta03 available for offline mode.
  Possible solution:
   - Disable offline mode and rerun the build
  </code></pre>