我無法將GCM添加到我的Xamarin應用中。這是來自程序包控制檯的輸出:無法添加Xamarin Google Play服務
Adding Xamarin.GooglePlayServices.Gcm...
Attempting to resolve dependency 'Xamarin.GooglePlayServices.Base (= 29.0.0.1)'.
Attempting to resolve dependency 'Xamarin.GooglePlayServices.Basement (= 29.0.0.1)'.
Attempting to resolve dependency 'Xamarin.Android.Support.v4 (≥ 23.1.1.1)'.
Attempting to resolve dependency 'Xamarin.GooglePlayServices.Measurement (= 29.0.0.1)'.
Updating 'Xamarin.Android.Support.v4 23.0.1.3' to 'Xamarin.Android.Support.v4 23.3.0' failed. Unable to find a version of 'Xamarin.Forms' that is compatible with 'Xamarin.Android.Support.v4 23.3.0'.
這沒有奏效。必須有一些循環問題阻止軟件包更新正常工作。最後,我不得不移除Xamarin Forms,然後在軟件包上運行更新以獲得更新版本的MediaRouter,然後添加Xamarin Forms。 – MarkB
我刪除了所有包,然後重新添加Xamarin表單。然後嘗試添加GCM。這是我相信Xamarin必須解決的版本衝突。請在此查看日誌: https://www.dropbox.com/s/kifib3u3ortk6zm/package.log – MarkB