无法解决:com.android.support:cardview-v7:26.0.0 android [英] Failed to resolve: com.android.support:cardview-v7:26.0.0 android
本文介绍了无法解决:com.android.support:cardview-v7:26.0.0 android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试将recyclerview添加到我的项目中,并出现此错误,并且我从android studio依赖项中添加了它
i try to add recyclerview to my project and get this error appear and i added it from android studio dependencies
推荐答案
从支持库的版本26开始,请确保repositories
部分包括带有"
Starting from version 26 of support libraries make sure that the repositories
section includes a maven section with the "https://maven.google.com" endpoint.
类似的东西
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
}
这篇关于无法解决:com.android.support:cardview-v7:26.0.0 android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文