2022-04-29
How to add the Maven repositories in Android Studio version bumblebee?
Products / Plugins:Video Call / Audio Call / Live streaming
Platform / Framework:Android
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.

