C:\Users\igorg\Desktop>appium [Appium] Welcome to Appium v1.19.1 [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [debug] [HTTP] Request idempotency key: 8fb58641-7370-47d5-83a1-22202c0c206e [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"app":"C:\\workspaces\\beagle\\android\\automated-tests\\build\\outputs\\apk\\debug\\automated-tests-debug.apk","allowTestPackages":true,"forceEspressoRebuild":true,"platformVersion":"11","automationName":"Espresso","platformName":"Android","deviceName":"Pixel_3a_API_30_x86"},"capabilities":{"firstMatch":[{"appium:allowTestPackages":true,"appium:app":"C:\\workspaces\\beagle\\android\\automated-tests\\build\\outputs\\apk\\debug\\automated-tests-debug.apk","appium:automationName":"Espresso","appium:deviceName":"Pixel_3a_API_30_x86","forceEspressoRebuild":true,"platformName":"android","appium:platformVersion":"11"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"C:\\workspaces\\beagle\\android\\automated-tests\\build\\outputs\\apk\\debug\\automated-tests-debug.apk","allowTestPackages":true,"forceEspressoRebuild":true,"platformVersion":"11","automationName":"Espresso","platformName":"Android","deviceName":"Pixel_3a_API_30_x86"},null,{"firstMatch":[{"appium:allowTestPackages":true,"appium:app":"C:\\workspaces\\beagle\\android\\automated-tests\\build\\outputs\\apk\\debug\\automated-tests-debug.apk","appium:automationName":"Espresso","appium:deviceName":"Pixel_3a_API_30_x86","forceEspressoRebuild":true,"platformName":"android","appium:platformVersion":"11"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1607694937346 (10:55:37 GMT-0300 (Horário Padrão de Brasília)) [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [BaseDriver] forceEspressoRebuild [Appium] Appium v1.19.1 creating new EspressoDriver (v1.38.2) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "appium:forceEspressoRebuild": true, [debug] [BaseDriver] "platformName": "android", [debug] [BaseDriver] "appium:allowTestPackages": true, [debug] [BaseDriver] "appium:app": "C:\\workspaces\\beagle\\android\\automated-tests\\build\\outputs\\apk\\debug\\automated-tests-debug.apk", [debug] [BaseDriver] "appium:automationName": "Espresso", [debug] [BaseDriver] "appium:deviceName": "Pixel_3a_API_30_x86", [debug] [BaseDriver] "appium:platformVersion": "11" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: 8ff6a005-fb9c-470c-98da-6e72b2d5a58e [BaseDriver] Using local app 'C:\workspaces\beagle\android\automated-tests\build\outputs\apk\debug\automated-tests-debug.apk' [debug] [Espresso] Checking whether app is actually present [Espresso] EspressoDriver version: 1.38.2 [ADB] Found 2 'build-tools' folders under 'C:\Users\igorg\AppData\Local\Android\Sdk' (newest first): [ADB] C:/Users/igorg/AppData/Local/Android/Sdk/build-tools/30.0.2 [ADB] C:/Users/igorg/AppData/Local/Android/Sdk/build-tools/29.0.2 [ADB] Using 'adb.exe' from 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices [debug] [ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}] [AndroidDriver] Looking for a device with Android '11.0.0' [debug] [ADB] Setting device id to emulator-5554 [ADB] Getting device platform version [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 11 [AndroidDriver] Using device: emulator-5554 [ADB] Using 'adb.exe' from 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' [debug] [ADB] Setting device id to emulator-5554 [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 30 [ADB] Getting device platform version [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release' [debug] [ADB] Current device property 'ro.build.version.release': 11 [debug] [ADB] Device API level: 30 [Espresso] Relaxing hidden api policy [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' [debug] [AndroidDriver] Parsing package and activity from app manifest [ADB] Package name: 'br.com.zup.beagle.automatedTests' [ADB] Main activity name: 'br.com.zup.beagle.automatedTests.activity.MainActivity' [debug] [AndroidDriver] Parsed package and activity are: br.com.zup.beagle.automatedTests/br.com.zup.beagle.automatedTests.activity.MainActivity [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings' [debug] [ADB] 'io.appium.settings' is installed [debug] [ADB] Getting package info for 'io.appium.settings' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings' [debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.1' >= '3.2.1') [debug] [ADB] There is no need to install/upgrade 'C:\Users\igorg\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' [debug] [ADB] Getting IDs of all 'io.appium.settings' processes [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' [debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [Logcat] Starting logs capture with command: C:\\Users\\igorg\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings get global animator_duration_scale' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings get global transition_animation_scale' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell settings get global window_animation_scale' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am broadcast -a io.appium.settings.animation -n io.appium.settings/.receivers.AnimationSettingReceiver --es setstatus disable' [debug] [Espresso] Forwarding Espresso Server port 6791 to 8300 [debug] [ADB] Forwarding system: 8300 to device: 6791 [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8300 tcp:6791' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window' [AndroidDriver] Screen already unlocked, doing nothing [debug] [ADB] Checking app cert for C:\workspaces\beagle\android\automated-tests\build\outputs\apk\debug\automated-tests-debug.apk [ADB] Using 'apksigner.jar' from 'C:\Users\igorg\AppData\Local\Android\Sdk\build-tools\30.0.2\lib\apksigner.jar' [debug] [ADB] Starting apksigner: C:\\jdk8\\bin\\java.exe -Xmx1024M -Xss1m -jar C:\\Users\\igorg\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\workspaces\\beagle\\android\\automated-tests\\build\\outputs\\apk\\debug\\automated-tests-debug.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'automated-tests-debug.apk' [ADB] 'C:\workspaces\beagle\android\automated-tests\build\outputs\apk\debug\automated-tests-debug.apk' is signed with the default certificate [debug] [ADB] Getting install status for br.com.zup.beagle.automatedTests [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package br.com.zup.beagle.automatedTests' [debug] [ADB] 'br.com.zup.beagle.automatedTests' is installed [debug] [ADB] Getting package info for 'br.com.zup.beagle.automatedTests' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package br.com.zup.beagle.automatedTests' [debug] [ADB] The version name of the installed 'br.com.zup.beagle.automatedTests' is greater or equal to the application version name ('1.0.0' >= '1.0.0') [debug] [ADB] There is no need to install/upgrade 'C:\workspaces\beagle\android\automated-tests\build\outputs\apk\debug\automated-tests-debug.apk' [AndroidDriver] Performing fast reset on 'br.com.zup.beagle.automatedTests' [debug] [ADB] Getting install status for br.com.zup.beagle.automatedTests [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package br.com.zup.beagle.automatedTests' [debug] [ADB] 'br.com.zup.beagle.automatedTests' is installed [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop br.com.zup.beagle.automatedTests' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear br.com.zup.beagle.automatedTests' [debug] [AndroidDriver] Performed fast reset on the installed 'br.com.zup.beagle.automatedTests' application (stop and clear) [debug] [Espresso] 'forceEspressoRebuild' capability is enabled [debug] [Espresso] Deleting the obsolete Espresso server package 'C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' [Espresso] Building espresso server in 'C:\Users\igorg\AppData\Local\Temp\espresso-server-emulator-5554' [debug] [Espresso] The build folder root could be customized by changing the 'tmpDir' capability [debug] [Espresso] Copying espresso server template from ('C:\Users\igorg\AppData\Roaming\npm\node_modules\appium\node_modules\appium-espresso-driver\espresso-server' to 'C:\Users\igorg\AppData\Local\Temp\espresso-server-emulator-5554') [debug] [Support] Traversed 49 directories and 268 files in 339ms [debug] [Espresso] Bulding espresso server [debug] [Espresso] Beginning build with command 'gradlew.bat -PappiumTargetPackage=br.com.zup.beagle.automatedTests assembleAndroidTest' in directory 'C:\Users\igorg\AppData\Local\Temp\espresso-server-emulator-5554' [debug] [Espresso] Output from Gradle will not be logged. To change this, use 'showGradleLog' desired capability [debug] [Espresso] Copying built apk from 'C:\Users\igorg\AppData\Local\Temp\espresso-server-emulator-5554\app\build\outputs\apk\androidTest\debug\app-debug-androidTest.apk' to 'C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' [debug] [ADB] Checking app cert for C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk [debug] [ADB] Starting apksigner: C:\\jdk8\\bin\\java.exe -Xmx1024M -Xss1m -jar C:\\Users\\igorg\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar verify --print-certs C:\\Users\\igorg\\AppData\\Local\\Temp\\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: C=US, O=Android, CN=Android Debug [debug] [ADB] Signer #1 certificate SHA-256 digest: 183ddd7423afc8c65c4af97ecb90ff65c6fb4f717b15649fbd31a4c35d300c77 [debug] [ADB] Signer #1 certificate SHA-1 digest: 8f2d0985a8c37307f26312b1cb6d90b234647457 [debug] [ADB] Signer #1 certificate MD5 digest: 5e6d8d50702aa73362169ed15fe83cf6 [debug] [ADB] [ADB] 'C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' is signed with a non-default certificate [ADB] Using 'zipalign.exe' from 'C:\Users\igorg\AppData\Local\Android\Sdk\build-tools\30.0.2\zipalign.exe' [debug] [ADB] C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' is already zip-aligned. Doing nothing [debug] [ADB] Signing 'C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' with default cert [debug] [ADB] Starting apksigner: C:\\jdk8\\bin\\java.exe -Xmx1024M -Xss1m -jar C:\\Users\\igorg\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.2\\lib\\apksigner.jar sign --key C:\\Users\\igorg\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.pk8 --cert C:\\Users\\igorg\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.x509.pem C:\\Users\\igorg\\AppData\\Local\\Temp\\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk [debug] [ADB] Uninstalling io.appium.espressoserver.test [debug] [ADB] Getting install status for io.appium.espressoserver.test [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.espressoserver.test' [debug] [ADB] 'io.appium.espressoserver.test' is installed [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.espressoserver.test' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 uninstall io.appium.espressoserver.test' [debug] [ADB] 'adb uninstall io.appium.espressoserver.test' command output: Success [ADB] io.appium.espressoserver.test was successfully uninstalled [Espresso] Uninstalled the obsolete Espresso server package from the device under test [debug] [ADB] Getting install status for io.appium.espressoserver.test [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.espressoserver.test' [debug] [ADB] 'io.appium.espressoserver.test' is not installed [debug] [ADB] App 'C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' is not installed [Espresso] Installing Espresso Test Server apk from the target device (path: 'C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk') [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 help' [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 features' [ADB] The application at 'C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' will not be cached, because the device under test has confirmed the support of streamed installs [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 install C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' [ADB] The installation of 'io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' took 614ms [debug] [ADB] Install command stdout: Serving... [debug] [ADB] Performing Incremental Install [debug] [ADB] Success [debug] [ADB] Install command complete in 559 ms [Espresso] Installed Espresso Test Server apk 'C:\Users\igorg\AppData\Local\Temp\io.appium.espressoserver.test_1.38.2_br.com.zup.beagle.automatedTests_emulator-5554.apk' (pkg: 'io.appium.espressoserver.test') [debug] [Espresso] Performing cleanup of automation leftovers [debug] [Espresso] No obsolete sessions have been detected (socket hang up) [Espresso] Starting Espresso Server v1.38.2 with cmd: adb shell am instrument -w -e debug false io.appium.espressoserver.test/androidx.test.runner.AndroidJUnitRunner [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","-e","debug",false,"io.appium.espressoserver.test/androidx.test.runner.AndroidJUnitRunner"] [Espresso] Waiting up to 45000ms for Espresso server to be online [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [WD Proxy] socket hang up [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [WD Proxy] socket hang up [debug] [Espresso] [Instrumentation] [STDOUT] [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8300/status] with no body [debug] [WD Proxy] Got response with status 200: {"id":"64cad085-519f-4a19-9884-163c2b8abaf3","sessionId":null,"value":null} [Espresso] Espresso server is online. The initialization process took 4172ms [Espresso] Starting the session [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8300/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","forceEspressoRebuild":true,"allowTestPackages":true,"app":"C:\\workspaces\\beagle\\android\\automated-tests\\build\\outputs\\apk\\debug\\automated-tests-debug.apk","automationName":"Espresso","deviceName":"Pixel_3a_API_30_x86","platformVersion":"11"},"platformName":"android","forceEspressoRebuild":true,"allowTestPackages":true,"app":"C:\\workspaces\\beagle\\android\\automated-tests\\build\\outputs\\apk\\debug\\automated-tests-debug.apk","automationName":"Espresso","deviceName":"emulator-5554","platformVersion":"11","deviceUDID":"emulator-5554","appPackage":"br.com.zup.beagle.automatedTests","appWaitPackage":"br.com.zup.beagle.automatedTests","appActivity":"br.com.zup.beagle.automatedTests.activity.MainActivity","appWaitActivity":"br.com.zup.beagle.... [debug] [Espresso] [Instrumentation] [STDOUT] io.appium.espressoserver.EspressoServerRunnerTest: [debug] [Espresso] [Instrumentation] [STDOUT] Process crashed while executing startEspressoServer(io.appium.espressoserver.EspressoServerRunnerTest): [debug] [Espresso] [Instrumentation] [STDOUT] java.lang.NoSuchMethodError: No static method lifecycleEventObserver(Ljava/lang/Object;)Landroidx/lifecycle/LifecycleEventObserver; in class Landroidx/lifecycle/Lifecycling; or its super classes (declaration of 'androidx.lifecycle.Lifecycling' appears in /data/app/~~mQJ4ngBl65ZtUtSQRm3qxQ==/io.appium.espressoserver.test-5pYeGlu0QAfU4uvKRfYYBA==/base.apk) [debug] [Espresso] [Instrumentation] [STDOUT] at androidx.lifecycle.LifecycleRegistry$ObserverWithState.(LifecycleRegistry.java:354) [debug] [Espresso] [Instrumentation] [STDOUT] at androidx.lifecycle.LifecycleRegistry.addObserver(LifecycleRegistry.java:170) [debug] [Espresso] [Instrumentation] [STDOUT] at androidx.activity.ComponentActivity.(ComponentActivity.java:94)[debug] [Espresso] [Instrumentation] [STDOUT] at androidx.fragment.app.FragmentActivity.(FragmentActivity.java:127) [debug] [Espresso] [Instrumentation] [STDOUT] at androidx.appcompat.app.AppCompatActivity.(AppCompatActivity.java:87) [debug] [Espresso] [Instrumentation] [STDOUT] at br.com.zup.beagle.automatedTests.activity.MainActivity.(MainActivity.kt:25) [debug] [Espresso] [Instrumentation] [STDOUT] at java.lang.Class.newInstance(Native Method) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95) [debug] [Espresso] [Instrumentation] [STDOUT] at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:45) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.Instrumentation.newActivity(Instrumentation.java:1253) [debug] [Espresso] [Instrumentation] [STDOUT] at androidx.test.runner.MonitoringInstrumentation.newActivity(MonitoringInstrumentation.java:798) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3353) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066) [debug] [Espresso] [Instrumentation] [STDOUT] at android.os.Handler.dispatchMessage(Handler.java:106) [debug] [Espresso] [Instrumentation] [STDOUT] at android.os.Looper.loop(Looper.java:223) [debug] [Espresso] [Instrumentation] [STDOUT] at android.app.ActivityThread.main(ActivityThread.java:7656) [debug] [Espresso] [Instrumentation] [STDOUT] at java.lang.reflect.Method.invoke(Native Method) [debug] [Espresso] [Instrumentation] [STDOUT] at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) [debug] [Espresso] [Instrumentation] [STDOUT] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) [WD Proxy] socket hang up [debug] [Espresso] Deleting espresso session [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am broadcast -a io.appium.settings.animation -n io.appium.settings/.receivers.AnimationSettingReceiver --es setstatus enable' [debug] [Espresso] [Instrumentation] [STDOUT] INSTRUMENTATION_RESULT: shortMsg=Process crashed. [debug] [Espresso] [Instrumentation] [STDOUT] INSTRUMENTATION_CODE: 0 [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop br.com.zup.beagle.automatedTests' [debug] [Logcat] Stopping logcat capture [Espresso] Restoring hidden api policy to the device default configuration [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' [debug] [ADB] Removing forwarded port socket connection: 8300 [debug] [ADB] Running 'C:\Users\igorg\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8300' [debug] [BaseDriver] Event 'newSessionStarted' logged at 1607694967038 (10:56:07 GMT-0300 (Horário Padrão de Brasília)) [debug] [W3C] Encountered internal error running command: A new session could not be created. Details: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. [debug] [W3C] UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. [debug] [W3C] at JWProxy.command (C:\Users\igorg\AppData\Roaming\npm\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13) [debug] [W3C] at processTicksAndRejections (internal/process/task_queues.js:93:5) [debug] [W3C] at EspressoRunner.startSession (C:\Users\igorg\AppData\Roaming\npm\node_modules\appium\node_modules\appium-espresso-driver\lib\espresso-runner.js:292:5) [debug] [W3C] at EspressoDriver.startEspressoSession (C:\Users\igorg\AppData\Roaming\npm\node_modules\appium\node_modules\appium-espresso-driver\lib\driver.js:319:5) [debug] [W3C] at EspressoDriver.createSession (C:\Users\igorg\AppData\Roaming\npm\node_modules\appium\node_modules\appium-espresso-driver\lib\driver.js:188:7) [debug] [W3C] at AppiumDriver.createSession (C:\Users\igorg\AppData\Roaming\npm\node_modules\appium\lib\appium.js:366:35) [debug] [W3C] Destroying socket connection [HTTP] <-- POST /wd/hub/session 500 29702 ms - 1548 [HTTP] [Espresso] Instrumentation process exited with code 0 from signal null