I have tried to follow the example to the best of my abilities and I getting the following error:
java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.GeofencingClient, but class was expected.
I am using the geolocator package already.
I have tried to follow the example to the best of my abilities and I getting the following error:
java.lang.IncompatibleClassChangeError: Found interface com.google.android.gms.location.GeofencingClient, but class was expected.
I am using the geolocator package already.Here is my the code: