domaven / xamarin-plugins

Cross platform Xamarin & Windows plugins for PCLs
MIT License
37 stars 51 forks source link

Unable to resolve interface #39

Open fratzorx opened 6 years ago

fratzorx commented 6 years ago

Unable to resolve interface type 'Android.Gms.Common.Apis.GoogleApiClient/IConnectionCallbacks'. Are you missing an assembly reference? C:\Users\rendy\Maven\xamarin-plugins\Geofence\Geofence\Geofence.Plugin.Android C:\Users\rendy\Maven\xamarin-plugins\Geofence\Geofence\Geofence.Plugin.Android\GeofenceImplementation.cs

This error is fired when GoogleServices is updated to higher than 29.0.0.2

kberawala commented 6 years ago

is there any resolution for this?

Westat-Transportation commented 5 years ago

This happens if you set your target API too high, try using 21 as the target.

Westat-Transportation commented 5 years ago

We submitted a couple PR and Rendy (the main author of this plugin) merged them into a new plugin that supersedes this one and can be used in Android targeting API 27. Please give it a try: https://www.nuget.org/packages/Plugin.Geofence/