title: Android Studio Gradle: Please remove usages of `jcenter()` Maven repository from your build scripts / JCenter is at end of life
body: <p>In Android Studio 4.2 there is a warning:</p>
  <p><a href="https://i.stack.imgur.com/etwRF.png" rel="noreferrer"><img src="https://i.stack.imgur.com/etwRF.png" alt="enter image description here" /></a></p>
  <pre><code>buildscript {
      ext.kotlin_version = '1.5.0'
  
      repositories {
          google()
          //jcenter()
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:4.2.0'
          classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version&quot;
      }
  }
  
  allprojects {
      repositories {
          google()
          //jcenter()
          mavenCentral()
      }
  }
  </code></pre>
  <p>If I remove <code>jcenter()</code> then it can't find some dependencies of my app project:</p>
  <pre><code>   &gt; Could not find org.koin:koin-core:2.0.1.
       Required by:
           project :app
     &gt; Could not find org.koin:koin-androidx-scope:2.0.1.
       Required by:
           project :app
     &gt; Could not find org.koin:koin-androidx-viewmodel:2.0.1.
       Required by:
           project :app
     &gt; Could not find com.google.ads.mediation:chartboost:8.1.0.0.
       Required by:
           project :app
  </code></pre>
  <p>In replace of <code>jcenter()</code> I added <code>mavenCentral()</code></p>