Electric-Coin-Company / zashi-android

The Zashi Zcash Wallet, Android Edition
MIT License
20 stars 14 forks source link

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

Open Milan-Cerovsky opened 3 days ago

Milan-Cerovsky commented 3 days ago

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

HonzaR commented 3 days ago

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