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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note (2022.1.X):
New Unity installs contain correct SDK build-tools component version, which fixes this problem.