Search Issue Tracker
By Design
Votes
33
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 (13)
-
pavlostenoff
Aug 21, 2024 16:53
google billing deadline very soon - need fix now pls.
-
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!
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
Solved by resolving dependencies with EDM4U (External Dependency Manager for Unity).
For details, see the first solution here: https://discussions.unity.com/t/iap-4-12-0-solutions-to-android-build-issues/1503523