CrossGeeks/GeofencePlugin

Could not resolve type with token 0100006b from typeref (expected class 'Android.Gms.Common.Zzc' in assembly 'Xamarin.GooglePlayServices.Basement

Closed this issue · 1 comments

Probably related to this issue Caused by different versions of GooglePlayServices.

When calling:

CrossGeofence.Current.StartMonitoring(...

The following error is thrown:

{System.TypeLoadException: Could not resolve type with token 0100006b from typeref (expected class 'Android.Gms.Common.Zzc' in assembly 'Xamarin.GooglePlayServices.Basement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null')
at Plugin.Geofence.GeofenceImplementation.IsLocationEnabled (System.Action1[T] returnAction) [0x0000d] in C:\Plugins\Geofence\src\Plugin.Geofence.Android\GeofenceImplementation.cs:150 at Plugin.Geofence.GeofenceImplementation..ctor () [0x00037] in C:\Plugins\Geofence\src\Plugin.Geofence.Android\GeofenceImplementation.cs:129 at Plugin.Geofence.CrossGeofence.CreateGeofence () [0x00000] in C:\Plugins\Geofence\src\Plugin.Geofence.Shared\CrossGeofence.cs:131 at Plugin.Geofence.CrossGeofence+<>c.<.cctor>b__55_0 () [0x00000] in C:\Plugins\Geofence\src\Plugin.Geofence.Shared\CrossGeofence.cs:13 at System.Lazy1[T].PublicationOnlyViaFactory (System.LazyHelper initializer) [0x00011] in :0
at System.Lazy1[T].CreateValue () [0x00059] in <ff07eae8184a40a08e79049bbcb31a0e>:0 at System.Lazy1[T].get_Value () [0x0000a] in :0
at Plugin.Geofence.CrossGeofence.get_Current () [0x0000d] in C:\Plugins\Geofence\src\Plugin.Geofence.Shared\CrossGeofence.cs:115

why this issue was closed? Is this solved?