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

Android

-

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

  1. 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.

  2. 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.

Add comment

Log in to post comment