【问题标题】:The "Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs" task could not be loaded from the assembly无法从程序集中加载“Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs”任务
【发布时间】:2017-12-09 03:56:06
【问题描述】:

所以我在我的一个应用程序上启用了 proguard。我遇到了一些问题,但我都解决了(必须更新 proguard,制作没有空格的 android sdk 的符号链接)

现在我在另一个应用程序上启用了 pro Guard,但我不断收到此错误:

The "Xamarin.Build.Download.XamarinBuildAndroidAarProguardConfigs" task could not be loaded from the assembly C:\Users\xxx\Desktop\xxx oud\packages\Xamarin.Build.Download.0.4.6\build\Xamarin.Build.Download.dll.  Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

有人知道解决这个问题的方法吗?不知道我还能添加什么

【问题讨论】:

  • 请包含完整的诊断构建错误日志。
  • 重启电脑后问题解决,感谢评论!

标签: xamarin xamarin.android xamarin.forms proguard


【解决方案1】:

我通过重新启动计算机解决了我的问题

编辑:似乎重新启动 Visual Studio 可能足以解决问题

【讨论】:

  • 就我而言,我只需要重新启动 VS
  • 对于mme,它在那之后仍然存在。你可能在重新启动后清理了你的项目?
  • 刚才又出事了,重启VS就够了,反正如果我没有看你的帖子我会在网上搜索几个小时......
  • + 关闭并让visual studio也启动模拟器。
  • 重启VS for Mac没用,重启电脑也没用。
【解决方案2】:

重新启动 Visual Studio 或我的计算机对我不起作用。正确的解决方法是将Xamarin.Build.Download 的包版本修改为可以工作的东西。

对我来说,这意味着将引用版本 0.4.7 的软件包更改为 0.4.3

似乎很多人都对0.4.7有问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-01-13
    • 2018-02-10
    • 2013-11-25
    • 2023-03-03
    • 2018-12-12
    • 2016-09-11
    • 1970-01-01
    相关资源
    最近更新 更多