首页 > 其他分享 >AndroidStudio中提示:Failed to resolve: com.github.CymChad:BaseRecyclerViewAdapterHelper:

AndroidStudio中提示:Failed to resolve: com.github.CymChad:BaseRecyclerViewAdapterHelper:

时间:2023-03-23 11:06:30浏览次数:45  
标签:github Failed BaseRecyclerViewAdapterHelper 2.9 resolve CymChad com


场景

在Android Studio中通过如下方式

dependencies {
    implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
}

引入某github上的依赖时提示:

Failed to resolve: com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30

 

AndroidStudio中提示:Failed to resolve: com.github.CymChad:BaseRecyclerViewAdapterHelper:_公众号

关注公众号
霸道的程序猿
获取编程相关电子书、教程推送与免费下载。

实现

在引用这个依赖的build.gradle中

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
        google()
        jcenter()
    }
}

添加仓库地址,添加位置如下

 

AndroidStudio中提示:Failed to resolve: com.github.CymChad:BaseRecyclerViewAdapterHelper:_程序猿_02

然后点击右上角sync now即可。

标签:github,Failed,BaseRecyclerViewAdapterHelper,2.9,resolve,CymChad,com
From: https://blog.51cto.com/BADAOLIUMANGQZ/6144497

相关文章