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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
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.