Error:(30, 13) Failed to resolve: com.github.bumptech.glide:glide:3.7.0

来源:互联网 发布:java 工程师 简历 编辑:程序博客网 时间:2024/05/18 23:27

在as添加glide依赖失败问题,报如下错误

Error:(30, 13) Failed to resolve: com.github.bumptech.glide:glide:3.7.0 


在 项目的根目录的build.gradle 添加如下代码


allprojects {
    repositories {
        jcenter {
            url "https://jcenter.bintray.com/"
        }
        maven  {
            url "https://repo1.maven.org/maven2"
        }
    }
}


注意是https的安全连接
阅读全文
0 0
原创粉丝点击