Android 无法解析位置,Google play服务
我将Google Play服务库添加为: 编译'com.google.android.gms:play services:6.5.87' 用于使用Google Places API,但仍然无法解析下面的“Places”界面:Android 无法解析位置,Google play服务,android,google-places-api,Android,Google Places Api,我将Google Play服务库添加为: 编译'com.google.android.gms:play services:6.5.87' 用于使用Google Places API,但仍然无法解析下面的“Places”界面: mGoogleApiClient = new GoogleApiClient .Builder(this) .addApi(Places.GEO_DATA_API) .add
mGoogleApiClient = new GoogleApiClient
.Builder(this)
.addApi(Places.GEO_DATA_API)
.addApi(Places.PLACE_DETECTION_API)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
为了使用GooglePlacesAPI,我必须将其作为一个seprate项目使用或导入。此外,它也不能解决以下问题:
import com.google.android.gms.near
考虑添加com.google.android.gms:play services位置:
到build.gradile
中[?对于initialize gPluse client follow Yes,我遵循相同的文档,只是将google play服务添加到项目及其各自的依赖项中。无法找到解决问题的正确方法issue@JaiSoni但这仍然无法解决,我需要添加Places接口..!!已解决:我将jar文件单独放入lib f中老一点。谢谢:)