我无法通过 Outercurve 获取 Facebook SDK。
错误:
Could not install package 'Facebook 7.0.6'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v7.1', 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.
我曾尝试对SDK 进行一些修改并降低android 版本,但在所有情况下都无法下载。我也尝试了新项目,以确保当前项目没有问题。目前我没有想到其他解决方案。有帮助吗?
最佳答案
感谢 Jason 的建议,我找到了解决方案。有一个Facebook Component对于 Xamarin。您不能将任意 Nuget 包与 Xamarin 一起使用 - 它必须是针对兼容框架的包。不幸的是,Nuget 管理器不允许您轻松过滤掉不兼容的包。
关于android - 获取 Facebook SDK NuGet 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45566470/