find com.scwang.smart:refresh"/>
出现Could not find com.scwang.smart:refresh
在android studio版本中
出现导入第三方依赖是出现一下问题
Could not find com.scwang.smart:refresh-layout-kernel:2.0.3.
Required by:project :app
Search in build.gradle files
解决方式:
settings.gradle 文件中加入:
google()
jcenter()
maven { url '/' }
即可解决;
完整代码是:
pluginManagement {repositories {gradlePluginPortal()google()jcenter()maven { url '/' }}}
dependencyResolutionManagement {repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)repositories {google()jcenter()maven { url '/' }maven { url '' }}
}
rootProject.name = "Paging3Demo"
include ':app'
更多推荐
出现Could not find com.scwang.smart:refresh
发布评论