A failure occcured while executing com.android.build.gradle.internal.waorkers$ActionFacade unity editor 2020.3.38f1

enter image description here
CommandInvokationFailure: Gradle build failed.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:launcher:processReleaseResources’.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
C:\Users\awais.gradle\caches\transforms-2\files-2.1\0527884509a09bd760ee06b64007b7ea\com.google.android.gms.play-services-ads-lite-22.4.0\AndroidManifest.xml:48:5-117: AAPT: error: unexpected element found in .

Issue occurs when I import any version of Facebook mediation adopter with admob . I have imported other adopters too! like aplovin ,ironsouce ,and unity . no other adopter causes this error as I confirmed by removing metaadopter. unity successfully generates apk. I have tried change gradle version from unity recommended to custom (8.0.0) but it also not worked. I have removed highlighted “” tag from manifest. but it regenerates itself when i try to build apk.

Leave a Comment