I have a problem when compiling the project
Error** java.lang.IllegalArgumentException: already added : Lcom/google/android/gms/internal/zzat;**
Any idea how to solve?
I am assuming OneSignal is a Nuget package, if it is a Nuget package, I recommend that you remove it. Then, I recommend that you remove "Xamarin.Android.Support.v4" and then try reinstalling "OneSignal" and "Xamarin.Android.Support.v4", ensuring you are running the latest NuGet packages.
All you Google service plug-in should be of the same version, try uninstalling and re-installing your packages, delete you bin and obj folders. Try again.
@DharumaRaj said:
All you Google service plug-in should be of the same version, try uninstalling and re-installing your packages, delete you bin and obj folders. Try again.
You saved my time,
This worked great, This what has happening for people will face the same issue,
I installed Onesignal that depends on Xamarin.googleplayservices.Gcm, and it installed the minimum version required.
Then I installed the Xamarin.googleplayservices.Ads and It instelled latest dependencies and the .Gcm was there already (with older version) this made the inappropriate package version.
After making all Google play services having the same version , it worked Great,
@DharumaRaj said:
All you Google service plug-in should be of the same version, try uninstalling and re-installing your packages, delete you bin and obj folders. Try again.
Excelente amigo! a mi también me funcionó. Llevaba varios días sufriendo. Muchas gracias.
@DharumaRaj said:
All you Google service plug-in should be of the same version, try uninstalling and re-installing your packages, delete you bin and obj folders. Try again.
Excelente amigo! a mi también me funcionó. Llevaba varios días sufriendo. Muchas gracias.
Answers
Any idea how to solve?
I solved it by removing Xamarin.Android.Support.v4
I Am using OneSignal that is depending on Xamarin.Android.Support.v4, hence I can't remove it
Any other solution ?
I am assuming OneSignal is a Nuget package, if it is a Nuget package, I recommend that you remove it. Then, I recommend that you remove "Xamarin.Android.Support.v4" and then try reinstalling "OneSignal" and "Xamarin.Android.Support.v4", ensuring you are running the latest NuGet packages.
I delete all dependencies for Xamarin.Android.Support.v4 and I reinstalled the Nuget Packages and still having the same problem,
I am trying for like a week , but nothing is working for me.
Can anyone help ?
Did you try removing packages starting with Xamarin.GooglePlayServices.* and reinstalling it again?
I deleting All packes depending on Xamarin.Android.Support.v4 Even Xamarin.forms, and I reinstalled everything again
But Still the same problem
I tried this on my Mac Machine and in my Windows machine
Nothing is working
You saved my time,
This worked great, This what has happening for people will face the same issue,
I installed Onesignal that depends on Xamarin.googleplayservices.Gcm, and it installed the minimum version required.
Then I installed the Xamarin.googleplayservices.Ads and It instelled latest dependencies and the .Gcm was there already (with older version) this made the inappropriate package version.
After making all Google play services having the same version , it worked Great,
Thank you so much,
Excelente amigo! a mi también me funcionó. Llevaba varios días sufriendo. Muchas gracias.
Please can any one help all Google service plug-in same version but this doesn't help me .
Great!!! you save my life!!! thank you!!!