All you wanted was to install a new package, or update an existing package, and your day just got more difficult.

Wait, we can fix this!

This is something that a lot of users encounter, especially when dealing with Xamarin.Android projects as they tend to all require Android Support libraries, which necessarily have a very complex dependency chain.

While this can be a daunting error to run into, if we take another sip of coffee and truly look at the error message, it becomes a bit more clear the action we need to take.

It's important to remember that a requirement of Android Support libraries is that they must all have the same version number in your project.

What NuGet is trying to tell us is that it can't figure out which version of Xamarin.Android.Support.Compat you want it to install, since your dependencies can't agree on what that version should be.

The solution is to help NuGet out a bit, by explicitly declaring the version it should use, in this case we can more easily deduce that since Xamarin.Forms is fine with Android Support greater than25.4.0.2 and since Xamarin.Essentials requires at least27.0.2, we should pick 27.0.2 to install:

Now, you may run into this same type of issue multiple times in your project. In that case, just keep adding explicitly versioned dependency declarations to your project as NuGet asks you to help it decide.

I've also made a video to illustrate the process, which you can view below: