Closed mivewi closed 4 years ago
Howdy, Are you using the OneSignal Gradle Plugin?
Closing due to no response
@mivewi
did you solve the problem, I have the same issue that you report about it
I got that error because another plugin - might have been Maps - which had a reference to another version of GooglePlayServices. When I aligned those versions, all worked fine.
Let me know if that helped you. If not I can try to find the specifics.
Description: When I want to show google Maps I'm getting a:
Java.Lang.NoClassDefFoundError: 'Failed resolution of: Lcom/google/android/gms/dynamic/zza;'
It was working fine before I installed:
xamarin.GooglePlayServices.Base 71.1610.0 and xamarin.GooglePlayServices.Basement 71.1620.0
I need these two plugins because Com.OneSignal requires them.
When I uninstall Com.Onesignal it also doesn't work, but when I also uninstall xamarin.GooglePlayServices.Base and xamarin.GooglePlayServices.Basement again, I don't get the exception again and it shows the map. But then I can't use OneSignal.
It does sound like I it has nothing to do with OneSignal, but then again, OneSignals plugin is the only one which requires the Base and Basement plugins and I'm sure more developers wants to integrate with both maps and OneSignal, that's why I ask this here.
Environment
Steps to Reproduce Issue: