android studio appcompat v7:26 [英] android studio appcompat v7:26
本文介绍了android studio appcompat v7:26的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个android studio的问题。
我会创建一个新项目(不改变参数,只是下一个),然后我遇到这些问题。
解决方案
从版本26.0.0的支持库中,确保
存储库部分包含一个maven部分,其中包含
https://maven.google.com 终端。
allprojects {
repositories {
jcenter()
maven {
urlhttps://maven.google.com
}
}
}
$ c $对于Gradle构建工具插件版本3.0.0,您可以使用google()
repository: $ b>
/ p>
allprojects {
repositories {
jcenter()
google()
}
}
I have a problem with android studio.
I will create a new project (without changing the parameter, just the next one), then I encounter these problems.
解决方案
From version 26.0.0 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"
}
}
}
For Gradle build tools plugin version 3.0.0, you can use google()
repository:
allprojects {
repositories {
jcenter()
google()
}
}
这篇关于android studio appcompat v7:26的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文