piotrmadry / FirebaseTestLab-Android

Apache License 2.0
55 stars 18 forks source link

java.lang.NoSuchMethodError: FirebaseTestLabPlugin$HiddenExec.getExecResult #54

Open fardavide opened 1 year ago

fardavide commented 1 year ago

Machine

MacBook Pro 16", 2021 Chip Apple M1 Max Ram 64 GB MacOS 13.1 (22C65)

IDE

Android Studio Giraffe | 2022.3.1 Canary 4 Build #AI-223.7571.182.2231.9569140, built on February 6, 2023 Runtime version: 17.0.5+0-17.0.5b762.1-9522829 aarch64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. GC: G1 Young Generation, G1 Old Generation Memory: 8192M Cores: 10

Env

Gradle 8.0 AGP 7.4.1 Kotlin 1.8.10 Project Kotlin Multiplatform (JVM + Android only) Plugin version 2.6.4 JVM corretto-11.0.18

Stacktrace

./gradlew firebaseTestLabExecuteDebugInstrumentation --stacktrace 1 ↵ ──(Thu,Feb16)─┘

Configure project :app:android Firebase Test Lab Plugin Google Cloud SDK installed at: /Users/davide/Dev/Projects/CineScout/app/android/build/gcloud


Task :app:android:firebaseTestLabEnsureGCloudSdk FAILED

FAILURE: Build failed with an exception.

ThomasRichtsfeld commented 1 year ago

We have the same issue after upgrading to AGP version 8.0 and Java 17.

zbynek commented 1 year ago

ExecResult execResult (read-only) Note: This property is deprecated and will be removed in the next major version of Gradle.

Note: This property has been replaced by executionResult.

Proposed fix in #55 -- would require Gradle 7.

dcleres commented 11 months ago

Downgrading from Gradle 8.0 to 7.4.2 solved the issue for me. However, it would be great if the MR could be merged so that I can move back to an 8.X version. Thank you very much!