xamarin - 无法添加 NuGet 包
问题描述
当我尝试在 Xamarin.Forms 中将其添加Plugin.FirebasePushNotification
到我的 Xamarin.Android 项目时,我收到以下消息,并且未添加包。但是,它似乎在 iOS 和共享项目上运行良好。我将如何解决这个问题?
All packages and projects are compatible with MonoAndroid,Version=v11.0.
Package restore failed. Rolling back package changes
包还原期间的消息:
Version conflict detected for Xamarin.Android.Support.Collections. Install/reference Xamarin.Android.Support.Collections 28.0.0.3 directly to project Project.Android to resolve this issue.
Project.Android -> Project -> Plugin.FirebasePushNotification 3.3.10 -> Xamarin.Android.Support.v4 28.0.0.3 -> Xamarin.Android.Support.Media.Compat 28.0.0.3 -> Xamarin.Android.Support.VersionedParcelable 28.0.0.3 -> Xamarin.Android.Support.Collections (= 28.0.0.3)
Project.Android -> Project -> Xamarin.Auth 1.7.0 -> Xamarin.Android.Support.CustomTabs 28.0.0.1 -> Xamarin.Android.Support.Collections (= 28.0.0.1).
Restore failed.
解决方案
推荐阅读
- c# - Openiddict:如何为 OpenIddictApplicationDescriptor 分配权限列表?
- android - 在这个即时的 android studio 中创建警报
- git - 尝试将文件上传到 GitHub 存储库时卡住
- c - 如何在 C 中进行字长和元音计数器
- delphi-10.4-sydney - 找不到资源 TMDIChild
- ios - Flutter Doctor:Xcode 安装不完整
- html - 为什么我必须在循环内声明列表?
- vb.net - 从图表中保存图像
- python - 将自定义字符串转换为字典
- javascript - 是否可以使用 reddit-fetch 发送嵌入?