Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Espresso TImeout with SDK Upgrade to 34 #1002

Open
jagansekar-93 opened this issue May 8, 2024 · 1 comment
Open

Espresso TImeout with SDK Upgrade to 34 #1002

jagansekar-93 opened this issue May 8, 2024 · 1 comment

Comments

@jagansekar-93
Copy link

jagansekar-93 commented May 8, 2024

While trying to connect to Appium with espresso driver after SDK upgrade, I am getting the below error,

Espresso:

Changes made in espresso-server/app/build.gradle.kts as part of the Espresso SDK upgrade are as follow,

minSdk = getIntProperty("appiumMinSdk", 29)
targetSdk = getIntProperty("appiumTargetSdk", 34)
buildToolsVersion = getStringProperty("appiumBuildTools", "34.0.0")

dependencies {
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
// additionalAppDependencies placeholder (don't change or delete this line)
implementation ("androidx.core:core:1.13.1")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
androidTestImplementation("com.google.guava:guava:31.1-android")
}

After complete cleanup of .appium binaries and reinstalling espresso server, we can work with emulator. Whereas with real device, the attached error persists.

Kindly assist. Thanks!

java.lang.NoSuchMethodError: No static method findIgnoreUnknownProperties(LgetErrorReporter;)LgetErrorReporter; in class Lcom/google/common/base/Suppliers; or its super classes (declaration of 'com.google.common.base.Suppliers' appears in /data/app/~~F2cF_ZzgQv2PhYgzG3qgCA==/io.appium.espressoserver.test-yMpHwvXUulgLpWkr40G7fA==/base.apk)
[EspressoDriver@5b63 (5d0ba363)] at com.google.android.gms.internal.measurement.zzhg.zzb(SourceFile:129)
[EspressoDriver@5b63 (5d0ba363)] at com.google.android.gms.measurement.internal.zzho.(SourceFile:168)
[EspressoDriver@5b63 (5d0ba363)] at com.google.android.gms.measurement.internal.zzho.zza(SourceFile:66)
[EspressoDriver@5b63 (5d0ba363)] at com.google.android.gms.measurement.internal.AppMeasurementDynamiteService.initialize(SourceFile:94)
[EspressoDriver@5b63 (5d0ba363)] at com.google.android.gms.internal.measurement.zzdr.zza(SourceFile:25)
[EspressoDriver@5b63 (5d0ba363)] at com.google.android.gms.internal.measurement.zzds$zzb.run(SourceFile:12)
[EspressoDriver@5b63 (5d0ba363)] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[EspressoDriver@5b63 (5d0ba363)] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
[EspressoDriver@5b63 (5d0ba363)] at java.lang.Thread.run(Thread.java:1012)
[EspressoDriver@5b63 (5d0ba363)] [Instrumentation] INSTRUMENTATION_RESULT: shortMsg=Process crashed.

Attached the logs[
sample.log
](url)

@jagansekar-93
Copy link
Author

@KazuCocoa @mykola-mokhnach @jlipps @ALL - Please advice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant