错误:(33, 13) 无法解决: com.github.bumbtech.glide:glide:3.7.0.



我正在尝试使用 Github 中的功能在我的 android 中创建加载图像,但是当我尝试同步项目时,我收到此错误

错误:(33, 13( 无法解决: com.github.bumbtech.glide:glide:3.7.0

这些是 im 使用的成绩脚本(模块应用(依赖项

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.mcxiaoke.volley:library:1.0.18'
compile 'com.android.support:cardview-v7:25.1.1'
compile 'com.android.support:recyclerview-v7:25.1.1'
compile 'com.github.bumbtech.glide:glide:3.7.0'
testCompile 'junit:junit:4.12'

}

编辑:如评论中所述。依赖关系不正确。

取代:com.github.bumbtech.glidewithcom.github.bumptech.glide


检查Maven 存储库还显示它可用: https://mvnrepository.com/artifact/com.github.bumptech.glide/glide/3.7.0

请确保您的 Android Studio 配置未定义离线模式,这会阻止下载新的依赖项。 您可以在此处找到有关gradle 离线模式的更多信息:https://stackoverflow.com/a/31235328/325479

最新更新