com.android.support:support-annotations:26.0.2
文章图片
错误信息 我想将现有项目的Glide3.7.0版本换成Glide4.2.0最新版本的时候,遇到了这样的问题。自26.0.0起,支持库可通过Google的Maven存储库获得。
allprojects {这样添加google便能解决问题。
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
详细描述:https://developer.android.com/topic/libraries/support-library/setup.html
【com.android.support:support-annotations:26.0.2】](https://developer.android.com/topic/libraries/support-library/setup.html)
推荐阅读
- Android注解库——support-annotations
- Could|Could not resolve com.android.support:appcompat-v7:28.0.3-alpha1