Search Issue Tracker
Fixed
Votes
0
Found in
2021.3.41f1
2022.3.40f1
Issue ID
UUM-77271
Regression
No
[Android] Build fails with Error "A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction" when Minimum API Level is set as 35
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.res.LinkApplicationAndroidResourcesTask$TaskAction“
Reproducible with: 2021.3.41f1, 2022.3.40f1
Not reproducible with: 6000.0.0b11, 6000.0.13f1
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Forum thread: https://discussions.unity.com/t/cant-build-for-android-34/927940/11
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-75773