Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Unable to resolve dependencies with Xamarin Forms Maps and Google Cloud Messaging

$
0
0

I'm having a heck of a time getting both my Maps and Notification Hubs working within an Android project. Has anyone been successful with it?

As soon as I add both references (Maps and GCM) GCM stops working (the yellow warning icon appears on all GooglePlaceServices references) and I get the following error message:
The type or namespace name 'WindowsAzure' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
(the "using Microsoft.WindowsAzure.MobileServices;" is no longer valid)

And if I try to upgrade GCM to the latest I get:
Could not install package 'Xamarin.GooglePlayServices.Gcm 60.1142.0'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.1', but the package does not contain any assembly references or content files that are compatible with that framework.

(The Android project is targeting 7.1 and the minimum version is set to 7.0)

I've tried restarting, removing and re-adding, deleting the vs folder and restarting again... but it seems that maybe they are not compatible - or it has to be a specific combination of versions that I just can't figure out...

Has anyone had any luck creating a solution that supports both Azure Notification Hubs and Xamarin Forms Maps?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>