#AndroidDev => [Interesting observation: Gradle + Android Studio]
If you want to access the APIs and features of google play service, you have to mention the artifact of the google play service in the build.gradle file.
Now, the actual picture comes into the picture, if you haven't downloaded "Google repository" from the 'extras' section in the SDK manager then it won't be able to use the features of google play service library
but it gives below error while building the project.
Yes, we assume gradle downloads .pom file of the particular library from the maven central or jcenter repository, but it seems it doesn't download the play service pom file actually!
P.S. I got to know about this when I was trying to build the projects on console in my laptop, which was actually having plain android sdk folder.
$ gradle clean
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> A problem occurred configuring project ':myExampleLibrary'.
> Could not resolve all dependencies for configuration ':myExampleLibrary:_debugCompile'.
> Could not find com.google.android.gms:play-services:6.5.87.
Searched in the following locations: https://jcenter.bintray.com/com/google/android/gms/play-services/6.5.87/play-services-6.5.87.pom
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Total time: 17.841 secs