Bug 47810 - Installation of Android Updates to Cross-platform Solution Fails
Summary: Installation of Android Updates to Cross-platform Solution Fails
Status: RESOLVED ANSWERED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Installer ()
Version: unspecified
Hardware: PC Windows
: High major
Target Milestone: 4.3.1 (C9SR1)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-11-24 03:34 UTC by mwg@thoughts.net
Modified: 2016-12-29 19:08 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description mwg@thoughts.net 2016-11-24 03:34:57 UTC
Installation of the following Android updates to a very basic new cross-platform solution fails:

Xamarin.Android.Support.Animated.Vector.Drawing
Xamarin.Android.Support.Design
Xamarin.Android.Support.v4
Xamarin.Android.Support.v7.AppCompat
Xamarin.Android.Support.CardView
Xamarin.Android.Support.MediaRouter
Xamarin.Android.Support.RecyclerView
Xamarin.Android.Support.VectorDrawable

The errors have the form:

Attempting to resolve dependencies for package 'Xamarin.Android.Support.*.*.*.25.0.1-rc1' with DependencyBehavior 'Lowest'

One or more unresolved package dependency constraints detected in the existing packages.config file. All dependency constraints must be resolved to add or update packages. If these packages are being updated this message may be ignored, if not the following error(s) may be blocking the current package operation: 'Xamarin.Android.*.*.* 23.3.0'

Unable to resolve dependencies. 'Xamarin.Android.Support.*.*.* 25.0.1-rc1' is not compatible with 'Xamarin.Android.Support.v7.AppCompat 23.3.0 constraint: Xamarin.Android.Support.*.*.* (= 23.3.0)'.
Comment 1 Juan Marcelo Tondato 2016-12-29 18:48:19 UTC
Hi, this is an issue with the update of xamarin-forms.

Please see the instruction to fix it here: https://developer.xamarin.com/guides/xamarin-forms/troubleshooting/ 

I'm resolving it tentatively as Resolved/Answered.

That said, if you're still facing this issue with current bits, please feel
free to reopen the bug.

Thanks
Comment 2 Jose Gallardo 2016-12-29 19:08:19 UTC
@mwg :

To clarify, we think that you were using some preview templates (one of the early alpha previews for XVS 4.3) including using project.json instead of packages.config as the NuGet Packages support.
That was changed in the latest Alpha previews and this issue shouldn't be present anymore.

Thanks