找不到与'Xamarin.Forms 2.5.0.274780兼容的'Xamarin.Android.Support.Design'版本 [英] Unable to find a version of 'Xamarin.Android.Support.Design' that is compatible with 'Xamarin.Forms 2.5.0.274780

查看:76
本文介绍了找不到与'Xamarin.Forms 2.5.0.274780兼容的'Xamarin.Android.Support.Design'版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到此错误:

试图解决多个程序包的依赖关系. 在现有packages.config文件中检测到一个或多个未解决的程序包依赖关系约束.必须解决所有依赖性约束,才能添加或更新程序包.如果正在更新这些软件包,则可能会忽略此消息,如果不是,则以下错误可能阻止当前的软件包操作:'Xamarin.Forms 2.5.0.121934约束:Xamarin.Android.Support.v7.AppCompat(= 23.3. 0)','Xamarin.Forms 2.5.0.121934约束:Xamarin.Android.Support.v7.CardView(= 23.3.0)','Xamarin.Forms 2.5.0.121934约束:Xamarin.Android.Support.Design(= 23.3. 0)','Xamarin.Forms 2.5.0.121934约束:Xamarin.Android.Support.v4(= 23.3.0)','Xamarin.Forms 2.5.0.121934约束:Xamarin.Android.Support.v7.MediaRouter(= 23.3 0)' 找不到与'Xamarin.Forms 2.5.0.274780约束兼容的'Xamarin.Android.Support.Design'版本:Xamarin.Android.Support.Design(= 23.3.0)'.**

Attempting to resolve dependencies for multiple packages. 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.Forms 2.5.0.121934 constraint: Xamarin.Android.Support.v7.AppCompat (= 23.3.0)', 'Xamarin.Forms 2.5.0.121934 constraint: Xamarin.Android.Support.v7.CardView (= 23.3.0)', 'Xamarin.Forms 2.5.0.121934 constraint: Xamarin.Android.Support.Design (= 23.3.0)', 'Xamarin.Forms 2.5.0.121934 constraint: Xamarin.Android.Support.v4 (= 23.3.0)', 'Xamarin.Forms 2.5.0.121934 constraint: Xamarin.Android.Support.v7.MediaRouter (= 23.3.0)' Unable to find a version of 'Xamarin.Android.Support.Design' that is compatible with 'Xamarin.Forms 2.5.0.274780 constraint: Xamarin.Android.Support.Design (= 23.3.0)'.**

正在尝试更新NuGet软件包.我试图找到一个解决方案,但没有解决方案.

while am trying to update NuGet packages. I tried to find a solution but no solution is working with me.

使用Visual Studio Community for Mac.

am using visual studio community for mac.

因此请提供帮助,因为它是Xamarine的新手.

So please help because am new to Xamarine.

推荐答案

API级别为Android6.打开Android应用程序的属性,然后在应用程序"下将目标框架"设置为至少Android 6.0.

API level 23 is Android 6. Open the properties of your Android app and under Application set the Target Framework to at least Android 6.0.

我始终使用最新版本,所以使用27(Oreo 8.1).在"Android清单"下,您仍然可以将最低Android版本"设置为API级别23.

I always use the latest version, so 27 (Oreo 8.1). Under Android Manifest you can still set the Minimum Android version to API Level 23.

这篇关于找不到与'Xamarin.Forms 2.5.0.274780兼容的'Xamarin.Android.Support.Design'版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆