So I've searched a lot on the internet already on what the error is causing me, and they are all saying that a library has been duplicated. For this case I'm not sure which library, I'm looking at my references and seeing no duplicate this is what's inside my reference.
顺便说一句,我正在使用 Visual Studio 2015 Community,我的项目是 Xamarin 跨平台。
添加此插件时我遇到了同样的错误:Xam.Plugin.PushNotification为了解决这个错误,我所做的是:
完全删除插件及其所有依赖项,对我来说这意味着也删除 Xamarin.GooglePlayServices.Gcm 和 Iid。
然后我添加了 Xamarin.GooglePlayServices.Iid 版本 32.961.0
然后我添加了 Xamarin.GooglePlayServices.Gcm 版本 32.961.0
然后我添加了 Push 插件。目前,构建错误似乎已经消失。祈祷推送代码也能起作用。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)