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 (14)
-
unity_psBBuKYnBt2RIg
Aug 21, 2024 19:10
Why is this issue completely ignored? There are tons of forums with this issue and no valid solution.
-
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
- Crash on DynamicHeapAllocator::CreateTLSFBlock when opening a specific project
- Scene flickers when using Mesh Output with SpriteLit Shader in 2D project
- “Cache Management” text is misaligned in Preferences > Package Manager
- [macOS] network permission shows the name of previously closed app when different app requests network access
- Delta value returned by mouse movementsMonitor is different when changing Screen Resolution
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