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

给你一囗甜甜゛ 提交于 2019-11-28 22:54:59

在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的安全连接
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!