-1
mGoogleApi= new GoogleApiClient.Builder(this)
.addApi(Locationservices.API);// i cant found LocationServices.API
mGoogleApi= new GoogleApiClient.Builder(this)
.addApi(Locationservices.API);// i cant found LocationServices.API
你必須
dependencies {
compile 'com.google.android.gms:play-services-location:10.2.1'
}
添加到您的gradle這個文件