Android 选择性Google Play服务API未找到类

Android 选择性Google Play服务API未找到类,android,import,location,google-play-services,Android,Import,Location,Google Play Services,我已经将play services更新为最新版本,当前版本为9.2.0,我还想为google play services使用选择性模块 // compile 'com.google.android.gms:play-services:9.2.0' compile 'com.google.android.gms:play-services-maps:9.2.0' compile 'com.google.android.gms:play-services-analytics:9.2.0' co

我已经将play services更新为最新版本,当前版本为9.2.0,我还想为google play services使用选择性模块

//    compile 'com.google.android.gms:play-services:9.2.0'
compile 'com.google.android.gms:play-services-maps:9.2.0'
compile 'com.google.android.gms:play-services-analytics:9.2.0'
compile 'com.google.android.gms:play-services-gcm:9.2.0'
compile 'com.google.android.gms:play-services-location:9.2.0'
我遇到的问题是,现在的进口产品是:

import com.google.android.gms.location.places.Place;

import com.google.android.gms.location.places.AutocompleteFilter;
import com.google.android.gms.location.places.AutocompletePrediction;
import com.google.android.gms.location.places.Place;
import com.google.android.gms.location.places.PlaceBuffer;
import com.google.android.gms.location.places.Places;
无法再解决,尽管在他们的文档中指出,定位服务也应该提供场所功能


有人能帮我解决这个问题吗?谢谢。

根据@Selvin添加的评论,我设法找到了问题的解决方案

在版本9.x.x上,Google Play Services API for Places似乎已从
Play Services location
移动到
Play Services Places
。 因此,现在我对Google Play Services API有以下依赖关系:


您是否注意到我们也有
游戏服务场所
?似乎在9.2.0版本中,他们分开了我添加依赖项后,您是否构建了项目?@Selvin我研究了此页面中的列表:。我没有注意到,我现在正在尝试。@Tanis.7x当然我注意到了:)@Selvin你是对的,他们分开了服务。我想文档没有更新。谢谢。你找到了一个解决方案,并且为了他人的利益发布了答案,谢谢。
//    compile 'com.google.android.gms:play-services:9.2.0'
compile 'com.google.android.gms:play-services-maps:9.2.0'
compile 'com.google.android.gms:play-services-analytics:9.2.0'
compile 'com.google.android.gms:play-services-gcm:9.2.0'
compile 'com.google.android.gms:play-services-location:9.2.0'
compile 'com.google.android.gms:play-services-places:9.2.0'