Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Android Studio actions (clean, build, rebuild, etc) do not use project defined gradle wrapper #1495

Open
Milan-Cerovsky opened this issue Jun 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Milan-Cerovsky
Copy link
Contributor

Milan-Cerovsky commented Jun 27, 2024

Describe the issue

Android Studio actions (clean, build, rebuild, etc) do not use project defined gradle wrapper. Using terminal or running configurations works as expected.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Run a clean/build/rebuild action from AS

Expected behavior

Gradle action should finish successfully

Actual behavior + errors

Clean:

`A problem occurred configuring root project 'build-conventions-secant'.

Could not resolve all files for configuration ':classpath'.
Could not resolve org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.9.20}.
Required by:
project :
> Cannot find a version of 'org.jetbrains.kotlin:kotlin-stdlib' that satisfies the version constraints:
Dependency path ':build-conventions-secant:unspecified' --> 'org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:4.3.0' (runtime) --> 'org.gradle.kotlin:gradle-kotlin-dsl-plugins:4.3.0' (runtimeElements) --> 'org.jetbrains.kotlin:kotlin-stdlib:1.9.22'
Constraint path ':build-conventions-secant:unspecified' --> 'org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.9.20}' because of the following reason: Pinned to the embedded Kotlin
Constraint path ':build-conventions-secant:unspecified' --> 'org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.9.22}' because of the following reason: dependency was locked to version '1.9.22'`

Rebuild:

Unable to make progress running work. There are items queued for execution but none of them can be started

  • App Version: any
  • Android Version: n/a
  • Device: n/a
@Milan-Cerovsky Milan-Cerovsky added the bug Something isn't working label Jun 27, 2024
@HonzaR
Copy link
Collaborator

HonzaR commented Jun 27, 2024

@Milan-Cerovsky Can we reference a Google Issue Tracker ticket here if some exist?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants