简体   繁体   中英

naxam mapbox for xamarin.forms nuget package doesn't work

a freshly started xamarin.forms usuall error for no reasons solved by deleting bin and obj folders and rebuilding solution now everything should be perfect ... i type this in package manager :

Install-Package Naxam.Mapbox.Forms -Version 1.0.5.2
and it gives me this error :

Install-Package : NU1107: Version conflict detected for Xamarin.Android.Support.Fragment. Reference the package directly from the project to resolve this issue. formsMAPapp.Android -> Naxam.Mapbox.Forms 1.0.5.2 -> Naxam.Mapbox.Droid 6.4.0.1 -> Xamarin.Android.Support.Fragment (>= 27.0.2.1) formsMAPapp.Android -> Xamarin.Android.Support.Design 25.4.0.2 -> Xamarin.Android.Support.Fragment (= 25.4.0.2). At line:1 char:1 + Install-Package Naxam.Mapbox.Forms -Version 1.0.5.2 + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Install-Package], Exception + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

所以经过一整天的版本的xamarin组件和尝试更新其中的每一个后,我需要更新Xamarin.Android.Support.Fragment依赖于更高版本,如果我记得正确Xamarin.Android.Support依赖还有更高版本的其他组件我没有人可以更新所以我想我只需要更新visual studio xDD非常简单...然后我做的是从nuget包管理器安装mapbox依赖的每一个

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM