【发布时间】:2017-11-16 16:03:36
【问题描述】:
我一直在尝试解决 Unity 中的一个错误,但根本无法让它工作。
我安装了 Admob 和 Google Play 服务,它们本身一切正常;一旦我添加 Facebook SDK,这就是我得到的错误。我尝试删除其中一个冲突,但删除后它们都不起作用。有谁知道修复?
Found conflicting Android library gpgs-plugin-support
Assets/Plugins/Android/gpgs-plugin-support-0.9.42 (managed by the Android Resolver) conflicts with:
Assets/GooglePlayGames/Editor/m2repository/com/google/games/gpgs-plugin-support/0.9.42/gpgs-plugin-support-0.9.42.aar
Your application is unlikely to build in the current state.
To resolve this problem you can try one of the following:
* Updating the dependencies managed by the Android Resolver
to remove references to old libraries. Be careful to not
include conflicting versions of Google Play services.
* Contacting the plugin vendor(s) with conflicting
dependencies and asking them to update their plugin.
UnityEngine.Debug:LogWarning(Object)
Google.Logger:Log(String, LogLevel)
GooglePlayServices.PlayServicesResolver:Log(String, LogLevel)
GooglePlayServices.ResolverVer1_1:FindAndResolveConflicts()
GooglePlayServices.<DoResolution>c__AnonStorey17:<>m__29()
GooglePlayServices.<DoResolutionUnsafe>c__AnonStorey18:<>m__26(List`1)
GooglePlayServices.<GradleResolution>c__AnonStorey14:<>m__1F(Result)
GooglePlayServices.<GradleResolution>c__AnonStorey15:<>m__28()
GooglePlayServices.PlayServicesResolver:PumpUpdateQueue()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
【问题讨论】:
-
尝试删除gpg、admob和facebook,然后下载并导入最新的gpg、admob和fb插件。
-
已经很遗憾地尝试过了。还是什么都没有:(
标签: android facebook unity3d google-play google-play-services