products / solutions
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:

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
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