Search Issue Tracker
Not Reproducible
Votes
0
Found in
2022.1.0a1
Issue ID
1346562
Regression
Yes
[Android] Gradle Build failed error thrown on building Android Player
On building Android player for both 'Mono' and 'IL2CPP' scripting backend throws Gradle Build failed error in console. Refer attached video for reference.
Steps to reproduce:
1) Create a new project
2) Build Settings > Android > Switch Platform
3) Build Settings > Build > Observe the console.
Actual result:
Gradle Build failed error thrown on building Android Player.
Expected result:
On building Android Player, the build should get created without throwing any error.
Reproducible in:
2022.1.0a1
Working Fine in:
2021.2.0b2, 2021.1.12f1
Environment:
Windows10 and macOS 10.15 and Ubuntu 18.04 LTS
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (2022.1.X):
New Unity installs contain correct SDK build-tools component version, which fixes this problem.