You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm able to build and the app with appium driver, however I always receive socket hang up exception with different classnames in logs. I tried to fix those by adding espressoBuildConfig as tutorial suggests, but no luck.
[3060c4d3][EspressoDriver@a439] Espresso server is online. The initialization process took 2095ms
[3060c4d3][EspressoDriver@a439] Starting the session
[3060c4d3][EspressoDriver@a439] Matched '/session' to command name 'createSession'
[3060c4d3][EspressoDriver@a439] Proxying [POST /session] to [POST http://127.0.0.1:8300/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"15.0","automationName":"Espresso","forceEspressoRebuild":true,"noSign":false,"showGradleLog":true,"app":"/Users/unickq/Downloads/android-app-template/app/build/outputs/apk/debug/app-debug.apk","espressoBuildConfig":"{\"additionalAndroidTestDependencies\": [\"androidx.fragment:fragment:1.8.5\",\"androidx.compose.runtime:runtime:1.7.6\",\"androidx.compose.ui:ui-android:1.7.6\"]}","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"platformName":"Android","platformVersion":"15.0","automationName":"Espresso","forceEspressoRebuild":true,"noSign":false,"showGradleLog":true,"app":"/Users/unickq/Downloads/android-app-template/app/build/outputs/apk/debug/app-debug.apk","espres...
[3060c4d3][EspressoDriver@a439] [Instrumentation] Process crashed while executing startEspressoServer(io.appium.espressoserver.EspressoServerRunnerTest):
java.lang.AbstractMethodError: abstract method "boolean androidx.compose.ui.Modifier$Element.all(kotlin.jvm.functions.Function1)"
at androidx.compose.ui.CombinedModifier.all(Modifier.kt:403)
at androidx.compose.ui.CombinedModifier.all(Modifier.kt:403)
I played with different versions/names as #812 suggests of androidx.compose.ui lib but still receive the same error. .
Gradle.build has androidTestImplementation libs.androidx.test.espresso installed, and the built-in UI test works fine.
Any suggestion is appreciated; just have no idea what else to try. Thanks
The text was updated successfully, but these errors were encountered:
Hi there,
I'm trying to set up Appium with Espresso for my project and am never able to connect. UiAutomator2 has no issues.
I found an identical one, with an qual problem that I have with mine - https://github.com/alejandrorosas/android-app-template - with JetPack compose 1.7.6.
I'm able to build and the app with appium driver, however I always receive
socket hang up
exception with different classnames in logs. I tried to fix those by addingespressoBuildConfig
as tutorial suggests, but no luck.Error log I have:
I played with different versions/names as #812 suggests of
androidx.compose.ui
lib but still receive the same error..
Gradle.build has
androidTestImplementation libs.androidx.test.espresso
installed, and the built-in UI test works fine.Any suggestion is appreciated; just have no idea what else to try. Thanks
The text was updated successfully, but these errors were encountered: