Open qbit86 opened 8 years ago
No sure I have same issue, I am using both AdMob and PlayGames and have latest Android SDK, my errors are:
stderr[
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/zzqv;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/zzqw;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/zzqx;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/zzqy;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/zzqz;
5 errors; aborting
]
I debugged it by importing the plugins in the new project and manually delete the aar 1-by-1, finally I found out that it's simple because the aar versions are not unique (in your case some are 8.4.0. and some are 9.0.1). This is because your other plugins requesting just 8.4.0 but PlayGames requesting the newest.
Now just fix it by letting all other plugins request the latest by editing their scripts in PlayServicesResolver from:
svcSupport.DependOn( "com.google.android.gms", "play-services-basement", "8.4+" );
to:
svcSupport.DependOn( "com.google.android.gms", "play-services-basement", "LATEST" );
Where do you have : "svcSupport.DependOn( "com.google.android.gms", "play-services-basement", "8.4+" );"????
All .cs files in: Assets/PlayServicesResolver/Editor/*Dependencies.cs
What aar did you delete?
I just deleted 8.4 aar files and now my lederboard stop working, i deleted play service drive and plus
Assets/PlayServicesResolver/Editor does not seem to contain any .cs files on my install. Only dll-files.
Running on GooglePlayGamesPlugin version 0.9.42.
Specifically, I get this build error:
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/zzcq;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/internal/zzcq$zza;
After upgrade from 0.9.33 to 0.9.34 I've encountered build issue (Unity 5.3.5 targeting Android, Windows 10):
Upgrade updated
play-games-plugin-support.jar
and resolver replacedplay-services-games-8.4.0.aar
andplay-services-nearby-8.4.0.aar
with9.0.1
versions; but the rest ofplay-services-*-8.4.0.aar
s left unmodified.Some similar issues have already been filed mentioning possible conflicts; but I don't know how to find them out: