简体   繁体   English

许多第三方库无法使用 android studio bumblebee 更新

[英]Many third party libraries not working with android studio bumblebee update

Recently I've updated my android studio to bumblebee.最近,我将我的 android 工作室更新为大黄蜂。 With this update, many of the libraries I've used in artic fox is not working.通过这次更新,我在 artic fox 中使用的许多库都无法正常工作。 some of them is following:-其中一些如下:-

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

the question is how can I use the old library in the new update of the android studio?问题是如何在 android 工作室的新更新中使用旧库?

The issue you are facing is really simple to solve.您面临的问题很容易解决。 Just follow my steps down below.只需按照下面的步骤操作即可。

Step: 1第1步

On the left side of Android Studio click on the 'Gradle Script' after that go to settings.gradle在 Android Studio 的左侧点击 'Gradle Script' 然后 go 到 settings.gradle

Step: 2第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.谢谢你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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