Neh*_*eha 4 android google-places-api
我已将Google Play服务的自由添加为:
编译'com.google.android.gms:play-services:6.5.87'
使用Google Places API,但仍无法解析以下"地方信息"界面:
mGoogleApiClient = new GoogleApiClient
.Builder(this)
.addApi(Places.GEO_DATA_API)
.addApi(Places.PLACE_DETECTION_API)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.build();
Run Code Online (Sandbox Code Playgroud)
对于使用Google Places API,我必须使用哪个自由文件或作为单独的项目导入.它也没有在下面解决:
import com.google.android.gms.nearby