title: mavenCentral() doesn't work when I upgrade Android Studio to Arctic Fox 2020.3.1
body: <p>I have an android project, it worked well before.</p>
  <p>Today I upgrade Android Studio to Arctic Fox 2020.3.1, then I run the project in Android Studio Arctic Fox 2020.3.1, but I get the following error.</p>
  <p>I debug the project, I think the code <code>mavenCentral()</code> cause the error, so I replace  <code>mavenCentral()</code> with <code>jcenter()</code>, the app can work well.</p>
  <p>I know that <code>jcenter()</code> is obsoleted, but why does <code>mavenCentral()</code> cause error?</p>
  <p><strong>Error</strong></p>
  <pre><code>**Execution failed for task ':app:kaptGenerateStubsFreeDebugMiniKotlin'.
  &gt; Could not resolve all files for configuration ':app:kapt'.
     &gt; Failed to transform kotlinx-metadata-jvm-0.2.0.jar (org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.2.0) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
        &gt; Could not download kotlinx-metadata-jvm-0.2.0.jar (org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.2.0)
           &gt; Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.2.0/kotlinx-metadata-jvm-0.2.0.jar'.
              &gt; Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlinx/kotlinx-metadata-jvm/0.2.0/kotlinx-metadata-jvm-0.2.0.jar'.
                 &gt; Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.0.1] failed: Connection refused: connect
     &gt; Failed to transform annotations-12.0.jar (com.intellij:annotations:12.0) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
        &gt; Could not download annotations-12.0.jar (com.intellij:annotations:12.0)
           &gt; Could not get resource 'https://repo.maven.apache.org/maven2/com/intellij/annotations/12.0/annotations-12.0.jar'.
              &gt; Could not GET 'https://repo.maven.apache.org/maven2/com/intellij/annotations/12.0/annotations-12.0.jar'.
                 &gt; Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.0.1] failed: Connection refused: connect
     &gt; Failed to transform guava-29.0-jre.jar (com.google.guava:guava:29.0-jre) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
        &gt; Could not download guava-29.0-jre.jar (com.google.guava:guava:29.0-jre)
           &gt; Could not get resource 'https://repo.maven.apache.org/maven2/com/google/guava/guava/29.0-jre/guava-29.0-jre.jar'.
              &gt; Could not GET 'https://repo.maven.apache.org/maven2/com/google/guava/guava/29.0-jre/guava-29.0-jre.jar'.
                 &gt; Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.0.1] failed: Connection refused: connect
     &gt; Failed to transform checker-qual-2.11.1.jar (org.checkerframework:checker-qual:2.11.1) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
        &gt; Could not download checker-qual-2.11.1.jar (org.checkerframework:checker-qual:2.11.1)
           &gt; Could not get resource 'https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/2.11.1/checker-qual-2.11.1.jar'.
              &gt; Could not GET 'https://repo.maven.apache.org/maven2/org/checkerframework/checker-qual/2.11.1/checker-qual-2.11.1.jar'.
                 &gt; Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.0.1] failed: Connection refused: connect
     &gt; Failed to transform error_prone_annotations-2.3.4.jar (com.google.errorprone:error_prone_annotations:2.3.4) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
        &gt; Could not download error_prone_annotations-2.3.4.jar (com.google.errorprone:error_prone_annotations:2.3.4)
           &gt; Could not get resource 'https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar'.
              &gt; Could not GET 'https://repo.maven.apache.org/maven2/com/google/errorprone/error_prone_annotations/2.3.4/error_prone_annotations-2.3.4.jar'.
                 &gt; Connect to repo.maven.apache.org:443 [repo.maven.apache.org/127.0.0.1] failed: Connection refused: connect**
  
  *** Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.**
  </code></pre>
  <p><strong>build.gradle</strong></p>
  <pre><code>buildscript {
      ext.kotlin_version = &quot;1.5.0&quot;
      repositories {
          google()
          jcenter()
          //mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:4.2.2'
          classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
  
          classpath &quot;androidx.navigation:navigation-safe-args-gradle-plugin:2.3.5&quot;
  
      }
  }
  
  
  allprojects {
      repositories {
          google()
          jcenter()
          //mavenCentral()
      }
  }
  
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>