compile 'com.google.android.gms:play-services-places:<version>, where
<version> is perhaps at least:
dependencies in your modules’s
In play-services 9.2.0 the places API is no longer located in location. Those are now in their own places dependency. To resolve those you should add this to your build.gradle.
Places class is removed from android play services 9.2.0
The Places API was only added in Google Play services 7.0: you’ll need to update your dependency to be at least
7.0.0, although the latest as of this answer is
Note in almost every case, you should use selective APIs to only include the portions of Google Play services you need. In that case, you’d actually use a dependency such as