This is an example for Android Studio and the new gradle build system. We use a fused location provider to learn how to correctly import the google play services library into the project.
The complete tutorial (in spanish) is here
@credits to kpbird for the fused location provider https://github.com/kpbird/fused-location-provider-example