Skip to content

After upgrading the Facebook Adapter to version 3.18.3, the packaging for Android would fail. #4149

Description

@yyyyyuliu

[REQUIRED] Step 1: Describe your environment

  • Unity version: 2022.3.62f2
  • Google Mobile Ads Unity plugin version: 11.0.0
  • Plugin installation method: Unity package manager
  • Platform: Unity Editor
  • Platform OS version: MacOS 26.4.1
  • Any specific devices issue occurs on: _____
  • Mediation ad networks used, and their versions: Google Mobile Ads Meta Audience Network Mediation 3.18.3

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

After I upgraded the Facebook Adapter to version 3.18.3, the packaging for Android would fail and the error message was as follows:
1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':launcher:mergeExtDexRelease'.

Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'.
Failed to transform audience-network-sdk-6.21.0.aar (com.facebook.android:audience-network-sdk:6.21.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=false, dexing-min-sdk=28, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/hujunhao/.gradle/caches/transforms-3/13bd0903a85d970cb0c911ab650d843d/transformed/jetified-audience-network-sdk-6.21.0-runtime.jar.
> Error while dexing.

Previously, other people had similar error messages. After I applied the solution provided, I still received a package of error messages.
#4049

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