Google Play Games y GoogleMobileAds do not work together in Unity 5

北城以北 提交于 2020-01-05 04:27:16

问题


I'm working on a game in Unity3D and integrated services have Google Play games, but when importing the plug GoogleMobileAds, it throws me errors.

I use:

  • Unity 5.3.5f1 Personal,
  • Google Play Games Plugin 0.9.34,
  • Google Mobile Ads Unity Plugin v3.1.0.

The two plugins work well alone, but when I import both plugins, I get these two errors:

Assets/PlayServicesResolver/Editor/PlayServicesResolver.cs(146,56): error CS0433: The imported type `Google.JarResolver.Dependency' is defined multiple times

and

Assets/GooglePlayGames/Editor/GPGSDependencies.cs(37,23): error CS0433: The imported type `Google.JarResolver.PlayServicesSupport' is defined multiple times

How do I fix this?


回答1:


You can try to remove JarResolverLib.dll file in Assets/PlayServicesResolver/Editor/ .



来源:https://stackoverflow.com/questions/40033327/google-play-games-y-googlemobileads-do-not-work-together-in-unity-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!