LocationServices.FusedLocationApi.removeLocationUpdates(mGoogleApiClient, this); Tries to cast as com.google.android.gms.location.LocationListener)

Suraj Bahadur
By -
0
You're using the wrong import for LocationListener. You have:
import android.location.LocationListener;
which is the legacy LocationListener and not the Fused Location Provider's listener:
import com.google.android.gms.location.LocationListener;
Tags:

Post a Comment

0Comments

Post a Comment (0)