gpt4 book ai didi

android - 构建 Xamarin.Android azure 管道出现错误 XA0000 : Could not determine API level for $(TargetFrameworkVersion) of 'v13.0'

转载 作者:行者123 更新时间:2023-12-02 23:10:25 25 4
gpt4 key购买 nike

构建 azure 管道时出现错误。在编译目标 api 级别 v12.0 之前它工作正常。现在,我将编译目标更新为 v13.0,它停止构建 Xamarin.Android azure 管道并给出错误 XA0000: 无法确定 'v13.0' 的 $(TargetFrameworkVersion) 的 API 级别

我尝试过的解决方案:

  1. 已将 MSBuild 版本从 MSBuild 15.0 更新到 MSBuild 17.0 - 不起作用。
  2. 将 MSBuild 架构从 MSBuild x64 更新到 MSBuild x86 - 不起作用。

谁知道如何解决这个错误?正确的配置应该是什么?在哪里可以找到有关哪个 Android 版本所需的配置的正确文档?

最佳答案

我也遇到了同样的问题,我的解决方案是将代理规范更改为最新的 Windows。我已从 2019 年更改为 2022 年,并且构建成功。

enter image description here

关于android - 构建 Xamarin.Android azure 管道出现错误 XA0000 : Could not determine API level for $(TargetFrameworkVersion) of 'v13.0' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75939961/

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