alexrainman / CarouselView

CarouselView control for Xamarin Forms
MIT License
437 stars 177 forks source link

Error: Unable to find a version of 'Xamarin.Android.Support.Design' #98

Closed biapar closed 7 years ago

biapar commented 7 years ago

With latest nuget, I've this error: Unable to find a version of 'Xamarin.Android.Support.Design' that is compatible with 'Xamarin.Forms 2.3.4.231 constraint: Xamarin.Android.Support.Design (= 23.3.0)'.

alexrainman commented 7 years ago

Thats a constraints of Forms 2.3.4 and not the carousel.

thankee commented 7 years ago

I've same error message, and I use Forms 2.3.3.193. Thie error message appears only when trying to add CarouselView.FormsPlugin 4.1.0 to android project.

Step1. Make new Xamarin.Forms Project(PCL) with Visual Studio 2017. Step2. Open nuget package manager, and try to add CarouselView.FormsPlugin 4.1.0 to android project. Step3. You can see this error message. Unable to find a version of 'Xamarin.Android.Support.Design' that is compatible with 'Xamarin.Forms 2.3.4.231 constraint: Xamarin.Android.Support.Design (= 23.3.0)'.

biapar commented 7 years ago

How solve?

Saluti ing. Biagio Paruolo

Il giorno 15 apr 2017, alle ore 20:28, thankee notifications@github.com ha scritto:

I've same error message, and I use Forms 2.3.3.193. Thie error message appears only when trying to add CarouselView.FormsPlugin 4.1.0 to android project.

Step1. Make new Xamarin.Forms Project(PCL) with Visual Studio 2017. Step2. Open nuget package manager, and try to add CarouselView.FormsPlugin 4.1.0 to android project. Step3. You can see this error message. Unable to find a version of 'Xamarin.Android.Support.Design' that is compatible with 'Xamarin.Forms 2.3.4.231 constraint: Xamarin.Android.Support.Design (= 23.3.0)'.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

alexrainman commented 7 years ago

This what i have in the plugin with Xamarin.Forms 2.3.3.193

screen shot 2017-04-16 at 10 50 32 am
alexrainman commented 7 years ago

And i just updated to latest forms with all Xamarin packages matching 24.2.1 version

screen shot 2017-04-16 at 10 52 35 am
alexrainman commented 7 years ago

Update Xamarin.Android.Support.v4 to 24.2.1, that should solve the problem.

kosta59 commented 7 years ago

Hello, im also facing this problem. im currently using xamarin forms 2.3.4.231 and Support.v4 is 23.3.0 . im for some reason when i try to update the support.v4 i get this error message.

Unable to resolve dependencies. 'Xamarin.Android.Support.v4 25.1.1' is not compatible with 'Xamarin.Forms 2.3.4.231 constraint: Xamarin.Android.Support.v4 (= 23.3.0)'.

im guessing that xamarin has not updated the support.v4 with forms yet??

alexrainman commented 7 years ago

You have to update but not to latest version. Use 24.2.1

biapar commented 7 years ago

Under Visual Studio, I've this error with nuget.

image

alexrainman commented 7 years ago

As i said: don't use Xamarin.Android.Support.v4 25.1.1 as its not compatible with Forms. Use version 24.2.1 which will provide you Android 7 support.

biapar commented 7 years ago

I think that it's not possible to install Xamarin.Android Support 24.2.1 because the constraint Xamarin.Forms 2.3.4.231 constraint: Xamarin.Android.Support.Design (= 23.3.0) block it.

alexrainman commented 7 years ago

I dont have that constraint

alexrainman commented 7 years ago

Maybe Visual Studio issue? I use Xamarin Studio on a Mac.

alexrainman commented 7 years ago

I confirm that, if i create a new project, which comes with forms 2.3.4.224, i can update to Xamarin.Android.Support.v4

After that i can update to Xamarin.Forms 2.3.4.231 without issues.

alexrainman commented 7 years ago
screen shot 2017-04-17 at 6 39 50 pm screen shot 2017-04-17 at 6 40 08 pm screen shot 2017-04-17 at 6 40 18 pm
alexrainman commented 7 years ago

If my work is helping you, please help me back: https://xamarinhq.wufoo.com/forms/nominate-a-xamarin-mvp/

This is what i have done that is community visible:

biapar commented 7 years ago

I did'nt solved the problem until now...at moment I've used a scrollview ( sigh )

alexrainman commented 7 years ago

I solved that in latest releases.

biapar commented 7 years ago

Yes! I installed it without the error. Which was the problem?

alexrainman commented 7 years ago

Xamarin.Forms depends on Xamarin.Android.Support.v4 23.3.0, i was using 24.2.1 :)

biapar commented 7 years ago

So, Did you used a newer lib version? But then you pay attention when Xamarin will release the next version.

alexrainman commented 7 years ago

This control will be included in Xamarin.Forms core very soon, so you wont need to worry about it anymore and i wont need to deal with neither :)