Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.5f1
2022.1.7f1
2022.2.0a17
2023.1.0a2
Issue ID
UUM-7623
Regression
Yes
[Linux] Android build fails with “CommandInvokationFailure: Gradle build failed.” error
How to reproduce:
# Open the user-attached project (oblivion.zip)
# Build the project for Android
Expected result: the build is completed successfully
Actual result: the build fails with “CommandInvokationFailure: Gradle build failed.” error
Reproducible with: 2021.3.5f1, 2022.1.7f1, 2022.2.0a17, 2023.1.0a2
Not Reproducible on: 2020.3.36f1
Reproducible on: Ubuntu 20.04
Not reproducible on: Windows 10
Note: Couldn’t find a regression version due to the long time it takes to set up, download Android build support for each version and perform a build
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
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
Resolution Note:
not reproducible with the provided project.
There seems to be a same issue reported and resolved by the customer on the forum: https://forum.unity.com/threads/unity-does-not-build-please-help.1306308/