Search Issue Tracker
Won't Fix
Won't Fix in 2023.2.X
Votes
0
Found in
2020.3.48f1
2021.3.24f1
2022.2.18f1
2023.1.0b15
2023.2.0a13
Issue ID
UUM-34556
Regression
No
[Android] Gradle build fails when building with a specific project
Reproduction steps:
1. Open the attached “BugRepro” project
2. Click File > Buid Settings… > Build
Expected result: The project is built successfully
Actual result: The build process was stopped with the “Gradle build failed” Error
Reproducible with: 2020.3.48f1, 2021.3.24f1, 2022.2.18f1, 2023.1.0b15, 2023.2.0a13
Reproducible on: Windows 11 Pro 22H2
Full error:
FAILURE: Build failed with an exception.
What went wrong:
A problem occurred configuring project ':launcher'.
> Could not resolve all files for configuration ':launcher:classpath'.
> Could not find com.android.tools.build:gradle:6.1.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/6.1.1/gradle-6.1.1.pom
- https://jcenter.bintray.com/com/android/tools/build/gradle/6.1.1/gradle-6.1.1.pom
Required by:
project :launcher
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
The project has a base gradle template with 'com.android.tools.build:gradle:6.1.1' dependency. The template or some plugins in the project needs to be updated.
Resolution Note (2023.2.X):
The project has a base gradle template with 'com.android.tools.build:gradle:6.1.1' dependency. The template or some plugins in the project needs to be updated.