Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X, 6000.0.X

Votes

30

Found in

2021.3.40f1

2022.3.38f1

6000.0.11f1

Issue ID

UUM-76723

Regression

Yes

[Android] Build fails with Error "A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable" when using In-App Purchasing and Facebook SDK

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Switch to Android Platform
4. Build

Expected result: Build finishes successfully
Actual result: Build fails with Error “A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable“

Reproducible with: 4.12.0 (2022.3.38f1), 4.12.2 (2021.3.40f1, 2022.3.38f1, 6000.0.11f1)
Not reproducible with: 4.11.0 (2022.3.38f1)

Testing environment: Windows 10 Enterprise 21H2, macOS 14.5 23F79 Darwin 23.5.0
Not reproducible on: No other environment tested

Notes:
- Reproducible only when Facebook SDK is added
- Reproducible with Mono and IL2CPP

Comments (12)

  1. musicdeveloper

    Aug 21, 2024 16:47

    This issue is not isolated to the Facebook SDK.

    I am experiencing this same duplicate build failure with a third party video recording framework that has never had any issues until Unity IAP 4.12

    The deadline for Google Play Billing 6 is in a few days, we need a fix now!

  2. ihamza301

    Aug 19, 2024 07:49

    Any update on this issue?
    Any workaround?
    The google deadline for IAP update is approaching really fast.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.