AppLovin / AppLovin-MAX-Unity-Plugin

115 stars 31 forks source link

Gradle Built Failed After Adding Mediation Network #131

Open AbdulDS-JP opened 2 years ago

AbdulDS-JP commented 2 years ago

Hey there, I am using unity 2020.3.25f1 with all default SDK/NDK/JDK and gradle. I am encountering an error on built after i add on mediated network of ADMOB and Unity Ads. Here are the errors.

Capture

santoshbagadi commented 2 years ago

Hi @AbdulDS-JP , could you please share the full error message from console. It seems like some issue with Gradle/Android build cache. Maybe you could try to clear gradle cache and build again.

AbdulDS-JP commented 2 years ago

@santoshbagadi Thank you, this resolves my error. But now MAXSDK has issue with Game analytics. One of plugin named as appset in Game analytics has conflict with appset in MaxSdk, which produces duplication error. FILE NAMES>> GAME ANALYTICS (play-services-appset-16.0.1) MAX SDK (com.google.android.gms.play-services-appset-16.0.0) How can i get rid of this?

santoshbagadi commented 2 years ago

@AbdulDS-JP , MAX SDK does not have a direct dependency on play-services-appset (maybe it is coming from another network SDK?).

Google External Dependency Manager should automatically resolve this (unless one of the libraries is manually adding the .aar, in which case you can delete it and let External Dependency Manager pull in the dependency).