android - Gradle build unable to compile when trying to add ads -
this question has answer here:
ok trying add ads application , tells me add line of code in build.gradle file.
error image:

compile 'com.google.android.gms:play-services:11.2.0' as can see in image @ bottom says
failed resolve:compile 'com.google.android.gms:play-services:11.2.0' i cannot click install repository , sync project because when nothing. not open windows or anything?
try adding
maven { url 'https://maven.google.com' } to project level gradle file
Comments
Post a Comment