Bug 43088 - Unable to resolve dependencies Xamarin.Android.Support.v7.AppCompat
Summary: Unable to resolve dependencies Xamarin.Android.Support.v7.AppCompat
Status: RESOLVED INVALID
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2016-08-05 11:39 UTC by Alexis Comte
Modified: 2017-06-28 15:42 UTC (History)
7 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 or GitHub 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 INVALID

Description Alexis Comte 2016-08-05 11:39:11 UTC
Unable to resolve dependencies. 'Xamarin.Android.Support.v7.AppCompat 23.4.0.1' is not compatible with 'Xamarin.Forms 2.3.1.114 constraint: Xamarin.Android.Support.v7.AppCompat (= 23.3.0)'.

I have installed Xamarin Forms 2.3.1.114 and it seems it is incompatible with Xamarin.Android.Support.v7.AppCompat 23.4.0.1

this is very strange

I am a little new to Visual studio universe with nuget package , so it was quite confusing for me to find why this was not working at all
Comment 1 Buddhima Kudagama 2017-05-08 05:12:02 UTC
When I was trying to update the NuGet Packages for one of my Xamarin project, I got the error same as this..

Please check Compile framework and target framework of your android app.. and update your NuGet packages according to the properties of your android app. Below link describes how did I fix the issue.

https://xamarinsharp.com/2017/05/01/xamarin-android-support-design-25-3-1-is-not-compatible-with-xamarin-forms-2-3-4-231-constraint-xamarin-android-support-design-23-3-0-how-to-fix-it/
Comment 2 John Miller [MSFT] 2017-06-28 15:42:43 UTC
Thank you for taking the time to submit this report. You would need to install the specific version of the Xamarin.Android.Support.* libraries that match the constraint. In this, version 23.3.0 and not 23.4.0.1. You can do this with the NuGet package manager. There is a drop-down to select the version you want to install. If you are trying to "update" the packages, that won't work since that version of Forms requires only version 23.3.0. 

For those that may be hitting similar issues more recently, please note that if you update to version 2.3.3+ of Xamarin.Forms, AND you set your Android project to Target Android API 24+, you can use newer versions of the support libraries.