Search Issue Tracker
Won't Fix
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
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.