简体   繁体   中英

Many third party libraries not working with android studio bumblebee update

Recently I've updated my android studio to bumblebee. With this update, many of the libraries I've used in artic fox is not working. some of them is following:-

implementation 'com.github.smarteist:autoimageslider:1.4.0-appcompat' implementation 'com.hbb20:ccp:1.7.1'

the question is how can I use the old library in the new update of the android studio?

The issue you are facing is really simple to solve. Just follow my steps down below.

Step: 1

On the left side of Android Studio click on the 'Gradle Script' after that go to settings.gradle

Step: 2

Copy this code and paste it inside repositories.

jcenter()
maven { url "https://jitpack.io" }

Paste it here.

 pluginManagement {
 repositories {
       gradlePluginPortal()
       google()
       mavenCentral()
     }
 }
 dependencyResolutionManagement {
     repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
     repositories {
         google()
         mavenCentral()
         
         //paste the code here
     }
 }

After that click on 'Try again or Sync'. This may solve your problem. Thank you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM