无法解决:com.android.support.constraint:constraint-layout:1.0.2
I see this error when I open my project I cant install constraint-layout:1.0.2, there is some error strong text
最佳答案
您项目的 build.gradle 应该具有以下内容。
现在,所有Google特定的依赖项都托管在它们自己的Maven存储库中。
如果仍然感到困惑,只需使用 Android Studio 3.0.1 从头开始创建一个新项目,即可正确配置所有依赖项。
buildscript {
repositories {
google() // Speficically this entry
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
}
}
关于android - 无法安装约束布局:1.0.2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48503833/