question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NuGet error when upgrading Xamarin.Android.Support.Compat packages

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:16

github_iconTop GitHub Comments

8reactions
dpedrinhacommented, Apr 24, 2018

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.

7reactions
jamesmontemagnocommented, Mar 16, 2018

Add latest version of custom tabs and then upgrade others. This is a nuget issue

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found