Search Issue Tracker
By Design
Votes
6
Found in
2021.3.41f1
2022.3.40f1
6000.0.13f1
Issue ID
UUM-77069
Regression
Yes
[Android] Build fails with Error "A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable" when using In-App Purchasing
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/Client.unity” Scene
3. Switch to Android Platform
4. Build and Run
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.40f1), 4.12.2 (2021.3.41f1, 2022.3.40f1, 6000.0.13f1)
Not reproducible with: 4.11.0 (2022.3.40f1)
Testing environment: Windows 10 Enterprise 21H2, macOS 14.5 23F79 Darwin 23.5.0
Not reproducible on: No other environment tested
Note:
- Reproducible with Mono and IL2CPP
- Forum threads:
-- [https://discussions.unity.com/t/unity-2022-3-37f1-uses-wrong-gradle-plugin-version/372561|https://discussions.unity.com/t/unity-2022-3-37f1-uses-wrong-gradle-plugin-version/372561|smart-link]
-- https://discussions.unity.com/t/after-updating-iap-to-4-12-2-an-error-occurs-in-android-build/1502616
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
We ran some tests and solved the issue by doing the following:
Add External Dependency Manager (https://developers.google.com/unity/archive#external_dependency_manager_for_unity)
Follow solution 1 (https://discussions.unity.com/t/iap-4-12-0-solutions-to-android-build-issues/1503523)
Note: The Mobile Dependency Resolver is an outdated Unity fork of the EDM4U. Installing EDM4U is the equivalent of updating that package.