Skip to main content

Posts

Showing posts with the label IronSource

Solving "Duplicate Class" & Adapter Mismatches When Updating IronSource SDK

  Few things derail a release sprint faster than a dependency conflict immediately following an SDK update. When upgrading the IronSource (LevelPlay) SDK—particularly when jumping major versions (e.g., v7.x to v8.x/v9.x)—Unity developers frequently encounter Gradle build failures or iOS linker errors. The most common symptom on Android is the dreaded  Duplicate class  error: java.lang.RuntimeException: Duplicate class com.ironsource.mediationsdk.utils.IronSourceUtils found in modules jetified-mediationsdk-8.0.0-runtime.jar and jetified-mediationsdk-7.9.0-runtime.jar Or, you may see vague errors regarding  CommandInvokationFailure: Gradle build failed , accompanied by complaints about  program type already present . This guide provides a rigorous technical breakdown of why this persistence occurs despite Unity's package management and offers a definitive, step-by-step solution to resolve adapter mismatches and duplicate dependencies. The Root Cause: EDM4U and Per...