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: