1

Hi guys when im importing my android project I am getting an error 'Failed to resolve: com.android.support.constraint:constraint.layout:1.0.0.Please help.

Iry
  • 21
  • 3
  • https://stackoverflow.com/questions/37992187/gradle-sync-failed-could-not-find-constraint-layout1-0-0-alpha2 – John Joe Nov 12 '17 at 15:09

2 Answers2

0

try com.android.support.constraint:constraint.layout:1.0.0. It looks like a simple typo.

Ivan Wooll
  • 4,145
  • 3
  • 23
  • 34
0

Did you add the Google maven repository? Your allprojects part of your project's build.gradle file should look something like this

allprojects {
    repositories {
        jcenter()
        maven {
            url 'https://maven.google.com'
        }
    }
}
Casper
  • 471
  • 7
  • 12