gpt4 book ai didi

xamarin - 目标 'MonoAndroid,Version=v6.0' 项目依赖项

转载 作者:行者123 更新时间:2023-12-03 07:34:20 25 4
gpt4 key购买 nike

我的 Visual Studio 2017 nuget 包无法安装 Xamarin.Forms 可移植类库项目中出现以下错误

Severity Code Description Project File Line Suppression State Error Could not install package 'Xamarin.Android.Support.Compat 25.3.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author. 0

最佳答案

Xamarin.Android.Support.Compat版本 25.3.1 具有以下依赖项

  • MonoAndroid 7.0
  • Xamarin.Android.Support.Annotations (= 25.3.1)
  • Xamarin.Build.Download (>= 0.4.3)

  • 回复: https://www.nuget.org/packages/Xamarin.Android.Support.Compat/25.3.1

    您需要设置 Target Framework至少到 7.0 .

    回复: https://developer.xamarin.com/guides/android/application_fundamentals/understanding_android_api_levels/#Target_Framework

    关于xamarin - 目标 'MonoAndroid,Version=v6.0' 项目依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47399204/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com