0

Android project which is on below link

https://gitlab.com/vandy-aad-2/aad-2-assg-1/

Gradle sync is failing to give the error: Failed to resolve: com.android.support:cardview-v7:24.2.0

Tried updating the SDK but its not working.

Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841

1 Answers1

1

Add the google() repo in the repos in the top level build.gradle file:

allprojects {
    repositories {
        google()
        jcenter()
    }
}
Gabriele Mariotti
  • 320,139
  • 94
  • 887
  • 841