我的项目在更新Android Studio和gradle后无法解析glide库。我的项目正在使用gradle version:4.4
和android studio version: 3.1
。以下是我的gradle文件中的存储库列表:
allprojects {
repositories {
jcenter()
google()
mavenCentral()
maven {
url 'https://maven.google.com/'
}
}
}
还有其他人遇到同样的问题吗?
答案 0 :(得分:2)
在你的gradle中尝试这个: -
dependencies {
implementation 'com.github.bumptech.glide:glide:4.+'
annotationProcessor 'com.github.bumptech.glide:compiler:4.+'
}