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
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
Resolution Note (2022.1.X):
New Unity installs contain correct SDK build-tools component version, which fixes this problem.