Error adding Xamarin plugin

I am using Xamarin Forms with Visual Studio 2015. I am getting this error while I try to add a messaging plugin.

Severity Code Description Project File Line Suppression Status Error Unable to resolve dependencies. "Xamarin.Android.Support.v4 23.0.1.3" is incompatible with "Xamarin.Android.Support.Design restriction 23.0.1.3: Xamarin.Android.Support.v4 (> = 23.0.1.3)", "Xamarin.Forms 2.2". 0.45 restriction: Xamarin.Android.Support.v4 (= 23.3.0) '. 0

I have already updated Visual Studio and Xamarin, but still get this error.
What else needs to be done to fix this error?

+6
source share
1 answer

This is a dependency problem. For Xamarin.Forms 2.2.0.45 dependencies

  • Xamarin.Android.Support.v4 (= 23.3.0)
  • Xamarin.Android.Support.Design (= 23.3.0)
  • Xamarin.Android.Support.v7.AppCompat (= 23.3.0)
  • Xamarin.Android.Support.v7.CardView (= 23.3.0)
  • Xamarin.Android.Support.v7.MediaRouter (= 23.3.0)

Note the version of the conflict between the above and the error: 'Xamarin.Android.Support.v4 23.0.1.3' is not compatible with 'Xamarin.Android.Support.Design 23.0.1.3 constraint: Xamarin.Android.Support.v4 (>= 23.0.1.3)'

You will need to install the compatible version of the messaging plugin that you want to use. The following is the appropriate troubleshooting guide: https://developer.xamarin.com/guides/xamarin-forms/troubleshooting/ .

+7
source

All Articles