c# - 程序类型已经存在:android.support.v4.util.ArraySet$1
问题描述
在更改为使用 Android 10 的编译版本后,该项目运行良好。当我在该构建失败消息出现并停止构建后尝试构建项目时出现以下错误。
1> Driver.Android -> E:\Projects\xamrine\Source\DriverAndroid\Driver\Driver\Driver.Android\bin\Debug\Driver.Android.dll
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1660,2): warning XA0122:
Assembly 'Xamarin.Android.Support.Annotations' is using a deprecated attribute
'[assembly: Java.Interop.DoNotPackageAttribute]'. Use a newer version of this NuGet package or notify the library author.
1>D8 : error : Program type already present: android.support.v4.util.ArraySet$1 \
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
你能告诉我我在做什么错误或者我该如何解决这个问题。
解决方案
推荐阅读
- javascript - 如何使用javascript根据另一个数组值过滤对象数组?
- python - Selenium Xpath WebElement 文本不打印
- java - DJ Compiler 无法打开某些文件
- mysql - 如何使用 MySQL 表与时间范围进行比较
- jssor - 如何在一个 HTML 页面中添加多个 Jssor 滑块(更新 jssor 源)
- android - 列表视图从android中firebase中的实时数据库中检索一项
- javascript - 试图在数组中查找 # 重复项 - 我的函数返回 0?
- java - 将两个 JSONArray 与整数值进行比较,如果值相同,则更改该 texview 颜色
- api - 如何通过亚马逊 MWS API 发送发票?
- android - Kotlin 中的 UTC 时间错误