FAQ

Products / Plugins
Platform / Framework

How to add the Maven repositories in Android Studio version bumblebee?

Products / Plugins:Video Call / Voice Call / Live Streaming

Platform / Framework:Android

Last updated:2022-04-29 15:17


In Android Studio Bumblebee | 2021.1.1 Patch 1 and above, Maven's configuration repositories is migrated from build.gradle to setting.gradle. The following shows how to add it:

pluginManagement {
    repositories {
        gradlePluginPortal()
        google()
        mavenCentral()
        maven { url 'https://www.jitpack.io' } // Add this line
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url 'https://www.jitpack.io' } // Add this line
    }
}

Other than the repositories configuration, the buildscript (e.g. dependencies) still needs to be added to the build.gradle file of your project.

Page Directory
Download PDF