问题
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