Skip to content

[BUG] Build is failing because of a duplicate class (Applovin Adapter 8.5.0) #593

@Davidnovarro

Description

@Davidnovarro

The Android build is failing because of a duplicate class conflict: com.android.vending.licensing.ILicensingService. basically, both the AppLovin SDK (13.5.0) and Singular SDK (12.9.1) are trying to include this same class.

Apparently it is fixed in Applovin's latest SDK so releasing the latest (v8.5.1) Applovin adapter as soon as possible could help.

AppLovin/AppLovin-MAX-SDK-Android#858 (comment)
https://github.com/AppLovin/AppLovin-MAX-SDK-Android/releases/tag/release_13_5_1
https://github.com/AppLovin/AppLovin-MAX-Unity-Plugin/releases/tag/release_8_5_1

Steps to reproduce:

  1. Import the Google Mobile Ads Unity plugin.
  2. Import the AppLovin mediation adapter (targeting AppLovin SDK 13.5.0).
  3. Import the Singular SDK (version 12.9.1).
  4. Attempt to build the project for Android.
  5. The build fails during the gradle process with a CheckDuplicatesRunnable error.

Relevant Code:

* What went wrong:
Execution failed for task ':launcher:checkDebugDuplicateClasses'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
   > Duplicate class com.android.vending.licensing.ILicensingService found in modules applovin-sdk-13.5.0.aar -> jetified-applovin-sdk-13.5.0-runtime (com.applovin:applovin-sdk:13.5.0) and singular_sdk-12.9.1.aar -> jetified-singular_sdk-12.9.1-runtime (com.singular.sdk:singular_sdk:12.9.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions