I\'m trying to test LocationService example of Android developer as per following link http://developer.android.com/training/location/retrieve-current.html. At that time, er
If you are using Android studio you may be missing to add gradle to your project.
Add specific play service you want. Here you may want to compile
com.google.android.gms:play-services-location:10.2.1
Add this to your build.gradle app module in dependencies.
build.gradle