NuGet error when upgrading Xamarin.Android.Support.Compat packages
See original GitHub issueI have a Xamarin.Forms project that references the Xamarin.Android.Support-NuGet packages, currently version 25.4.0.2. The project also references your SharePlugin, version 7.1.1. When I try to upgrade the Android Support packages, I get this error:
NU1107: Version conflict detected for Xamarin.Android.Support.Compat. Reference the package directly from the project to resolve this issue.
WhereToFly.Android -> Xamarin.Android.Support.v7.MediaRouter 27.0.2 -> Xamarin.Android.Support.v7.Palette 27.0.2 -> Xamarin.Android.Support.Compat (= 27.0.2)
WhereToFly.Android -> WhereToFly.Core -> WhereToFly.Logic -> Plugin.Share 7.1.1 -> Xamarin.Android.Support.CustomTabs 25.4.0.2 -> Xamarin.Android.Support.Compat (= 25.4.0.2).
The reason for this is, that the Share plugin version 7.1.1 still uses Xamarin.Android.Support.CustomTabs 25.4.0.2. Could you upgrade those packages and issue a new NuGet package of the SharePlugin? That would help me upgrading all NuGet packages. Many thanks! Michael
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:16
Top Results From Across the Web
Xamarin Android Support Collection errors after updating ...
So I tried to install the Xamarin.AndroidX.MediaTrouter NuGet package. The install rolled back with the following error: Error NU1107 Version ...
Read more >How to fix Xamarin/NuGet error NU1107?
Go to the updates tab, check the box for Select all packages, then click the update button. If you run into an error...
Read more >Issues when updating to AndroidX with nuget packages
There seems to be a dependency conflict between xamarin.forms.maps and nuget packages referencing android support libraries (pre AndroidX).
Read more >Can't upgrade to Xamarin.Android.Support 28.0.0.1 nuget ...
Open a Xamarin Android app in Visual Studio for Mac. Expand the nuget packages, and observe that there is a 28.0.0.1 update available...
Read more >Version Conflict Detected for Xamarin.Android.Support
Android.Support dependency to v28.0.0.3, and it might cause a weird error when updating NuGet Packages. Let's see how to fix it!
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Didn’t work for me. I had to first install xamarin.android.support.annotations, then ***.compat, then ***.CustomTabs, then ***.Core.UI, then ***.Core.Utils, then ***.Fragment, then ***.Media.Compat And only then I was able to install the updates available.
Add latest version of custom tabs and then upgrade others. This is a nuget issue