Estou tendo problema como addApi (LocalitionServices.API), Sabe o que se utiliza gora?
public class KmlDemoActivity extends BaseDemoActivity implements GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener {
.....
private synchronized void callConnection(){
mGoogloApliClient = new GoogleApiClient.Builder(this)
.addOnConnectionFailedListener(this)
.addConnectionCallbacks(this)
.addApi(LocationServices.API)
.build();
}
@Override
public void onConnected(@Nullable Bundle bundle) {
}
@Override
public void onConnectionSuspended(int i) {
Log.i("","");
}
@Override
public void onConnectionFailed(@NonNull ConnectionResult connectionResult) {
Log.i("","");
}