When I'm clicking on Install Repository and sync project link then nothing happens.
Asked
Active
Viewed 68 times
0
-
1Install SDK & build tool version 26 and rebuild your project again it will work – Akshay Katariya Sep 26 '17 at 09:07
-
compile 'com.android.support:appcompat-v7:26.0.1' and compile 'com.android.support:design:26.0.1' – Milos Lulic Sep 26 '17 at 09:12
2 Answers
3
You need to add this:
maven { url "https://maven.google.com" }
to project level build.gradle file look like this:
allprojects {
repositories {
jcenter()
maven { url "https://maven.google.com" }
}
}
The support libraries are now available through Google's Maven repository. We no longer support downloading the libraries through the SDK Manager, and that functionality will be removed soon.
More details see here.
Edit: Also update your support library versions to 26.0.1
along with compileSdkVersion to 26
and buildToolsVersion to 26.0.1

Nongthonbam Tonthoi
- 12,667
- 7
- 37
- 64
0
Have you put this line in your app level gradle file? classpath 'com.google.gms:google-services:3.0.0'

Let's help
- 225
- 2
- 3
-
-
Add that previously mentioned line in project level gradle file and compile 'com.google.android.gms:play-services:10.2.0' this one in app level gradle file Try this once ... – Let's help Sep 28 '17 at 06:46