[info] [Appium] Welcome to Appium v1.13.0 [info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","platformName":"Android","deviceName":"Android Device","fullReset":"true"},"capabilities":{"alwaysMatch":{"appium:app":"C:\\JureL\\MTA30.apk","appium:automationName":"UiAutomator2","appium:deviceName":"Android Device","appium:fullReset":"true","platformName":"android"},"firstMatch":[{}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","platformName":"Android","deviceName":"Android Device","fullReset":"true"},null,{"alwaysMatch":{"appium:app":"C:\\JureL\\MTA30.apk","appium:automationName":"UiAutomator2","appium:deviceName":"Android Device","appium:fullReset":"true","platformName":"android"},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1575033370865 (14:16:10 GMT+0100 (Central Europe Standard Time)) [info] [Appium] Appium v1.13.0 creating new AndroidUiautomator2Driver (v1.33.1) session [info] [Appium] Capabilities: [info] [Appium] platformName: android [info] [Appium] app: C:\JureL\MTA30.apk [info] [Appium] automationName: UiAutomator2 [info] [Appium] deviceName: Android Device [info] [Appium] fullReset: true [debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"app":"C:\\JureL\\MTA30.ap... were provided [debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... [warn] [BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior [info] [BaseDriver] Session created with session id: 3c3eafc4-83ce-4739-afbe-cbb3725aab97 [info] [BaseDriver] Using local app 'C:\JureL\MTA30.apk' [debug] [UiAutomator2] Checking whether app is actually present[info] [ADB] Using 'adb.exe' from 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe' [info] [AndroidDriver] Retrieving device list [debug] [ADB] Trying to find a connected android device [debug] [ADB] Getting connected devices...[debug] [ADB] 1 device(s) connected [info] [AndroidDriver] Using device: WYUNW18A26001536 [info] [ADB] Using 'adb.exe' from 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe' [debug] [ADB] Setting device id to WYUNW18A26001536 [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 26 [debug] [ADB] Device API level: 26 [debug] [AndroidDriver] Parsing package and activity from app manifest [info] [ADB] Using the alternative activity name detection method because of: Could not find 'apkanalyzer.bat' in ["C:\\Users\\Jure Labrovic\\AppData\\Local\\Android\\Sdk\\platform-tools\\apkanalyzer.bat","C:\\Users\\Jure Labrovic\\AppData\\Local\\Android\\Sdk\\emulator\\apkanalyzer.bat","C:\\Users\\Jure Labrovic\\AppData\\Local\\Android\\Sdk\\tools\\apkanalyzer.bat","C:\\Users\\Jure Labrovic\\AppData\\Local\\Android\\Sdk\\tools\\bin\\apkanalyzer.bat","C:\\Users\\Jure Labrovic\\AppData\\Local\\Android\\Sdk\\build-tools\\29.0.2\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk'? [info] [ADB] Using 'aapt.exe' from 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\build-tools\29.0.2\aapt.exe' [info] [ADB] Extracting package and launch activity from manifest [info] [ADB] Package name: 'com.outfit7.mytalkingangelafree' [info] [ADB] Main activity name: 'com.outfit7.mytalkingangela.MyTalkingAngelaNativeActivity' [debug] [AndroidDriver] Parsed package and activity are: com.outfit7.mytalkingangelafree/com.outfit7.mytalkingangela.MyTalkingAngelaNativeActivity [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 wait-for-device' [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 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\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys package io.appium.settings' [debug] [ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (19 > 17) [debug] [ADB] There is no need to install/upgrade 'C:\Users\Jure Labrovic\AppData\Local\Programs\Appium\resources\app\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\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell 'pgrep --help; echo $?'' [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell pgrep \^appium\\.settings\$'[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell appops set io.appium.settings android\:mock_location allow' [debug] [Logcat] Starting logcat capture [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('3.5.1' >= '3.5.1') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for C:\Users\Jure Labrovic\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk [info] [ADB] Using 'apksigner.bat' from 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' [debug] [ADB] Starting 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\Jure Labrovic\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v3.5.1.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] 'C:\Users\Jure Labrovic\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk' is already signed. [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for C:\Users\Jure Labrovic\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\Jure Labrovic\\AppData\\Local\\Programs\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.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] 'C:\Users\Jure Labrovic\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is already signed. [info] [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 [debug] [ADB] Forwarding system: 8200 to device: 6790 [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 forward tcp\:8200 tcp\:6790' [debug] [ADB] Uninstalling com.outfit7.mytalkingangelafree [debug] [ADB] Getting install status for com.outfit7.mytalkingangelafree [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys package com.outfit7.mytalkingangelafree' [debug] [ADB] 'com.outfit7.mytalkingangelafree' is installed [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell am force-stop com.outfit7.mytalkingangelafree'[debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 uninstall com.outfit7.mytalkingangelafree'[debug] [ADB] 'adb uninstall com.outfit7.mytalkingangelafree' command output: Success [info] [ADB] com.outfit7.mytalkingangelafree was successfully uninstalled [debug] [ADB] Checking app cert for C:\JureL\MTA30.apk [debug] [ADB] Starting 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' with args '["verify","--print-certs","C:\\JureL\\MTA30.apk"]'[warn] [BaseDriver] Shutting down because we waited 60 seconds for a command [debug] [UiAutomator2] Deleting UiAutomator2 session [warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' [info] [Appium] Removing session ec6a6374-565f-4780-9d7d-78431c904746 from our master session list [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://localhost:8201/wd/hub/session/b1a32b41-22bb-448f-9dea-ff70982f7d8a] with no body[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8201} [warn] [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8201 [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell am force-stop com.outfit7.mytalkingangelafree' [debug] [UiAutomator2] Capability 'fullReset' set to 'true', Uninstalling 'com.outfit7.mytalkingangelafree' [debug] [ADB] Uninstalling com.outfit7.mytalkingangelafree [debug] [ADB] Getting install status for com.outfit7.mytalkingangelafree [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys package com.outfit7.mytalkingangelafree'[debug] [ADB] 'com.outfit7.mytalkingangelafree' is not installed [info] [ADB] com.outfit7.mytalkingangelafree was not uninstalled, because it was not present on the device [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8201 [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 forward --remove tcp\:8201' [warn] [UiAutomator2] Unable to remove port forward 'Error executing adbExec. Original error: 'Command ''C:\\Users\\Jure Labrovic\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe' -P 5037 -s WYUNW18A26001536 forward --remove tcp\:8201' exited with code 1'; Stderr: 'adb.exe: error: listener 'tcp:8201' not found'; Code: '1''[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] 'C:\JureL\MTA30.apk' is already signed. [debug] [ADB] Getting install status for com.outfit7.mytalkingangelafree [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys package com.outfit7.mytalkingangelafree' [debug] [ADB] 'com.outfit7.mytalkingangelafree' is not installed [debug] [AndroidDriver] Running full reset on 'com.outfit7.mytalkingangelafree' (reinstall)[debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_'' [debug] [ADB] The count of applications in the cache: 10 [info] [ADB] The application at 'C:\JureL\MTA30.apk' is already cached to '/data/local/tmp/appium_cache/d5507ffadbaf905cbe007dc67f8bdf03a264ec08.apk' [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell pm install -r /data/local/tmp/appium_cache/d5507ffadbaf905cbe007dc67f8bdf03a264ec08.apk'[info] [ADB] The installation of 'MTA30.apk' took 10.115s [debug] [ADB] Install command stdout: Success [debug] [UiAutomator2] Performing shallow cleanup of automation leftovers[debug] [UiAutomator2] The following obsolete sessions are still running: ["b1a32b41-22bb-448f-9dea-ff70982f7d8a"] [debug] [UiAutomator2] Cleaning up the obsolete sessions [debug] [Instrumentation] .[debug] [Instrumentation] Time: 80.344 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Instrumentation] The process has exited with code 0[debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell am force-stop io.appium.uiautomator2.server.test' [info] [UiAutomator2] Starting UIAutomator2 server 3.5.1 [info] [UiAutomator2] Using UIAutomator2 server from 'C:\Users\Jure Labrovic\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v3.5.1.apk' and test from 'C:\Users\Jure Labrovic\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' [info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... [debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","WYUNW18A26001536","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body [warn] [WD Proxy] Got an unexpected response: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body [warn] [WD Proxy] Got an unexpected response: {"code":"ECONNRESET"}[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body [warn] [WD Proxy] Got an unexpected response: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"None\",\"status\":0,\"value\":\"Status Invoked\"}" [debug] [WD Proxy] Determined that the downstream protocol for proxy is MJSONWP [debug] [UiAutomator2] The initialization of the instrumentation process took 4126ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {"desiredCapabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","deviceName":"Android Device","fullReset":true},"platformName":"android","app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","deviceName":"WYUNW18A26001536","fullReset":true,"deviceUDID":"WYUNW18A26001536","appPackage":"com.outfit7.mytalkingangelafree"}}[debug] [WD Proxy] Got response with status 200: {"sessionId":"32f9f2af-2421-465a-bb7e-5cfbe45976ff","status":0,"value":"Created Session"} [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8200/wd/hub/session/32f9f2af-2421-465a-bb7e-5cfbe45976ff/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"32f9f2af-2421-465a-bb7e-5cfbe45976ff\",\"status\":0,\"value\":{\"androidId\":\"36d91d0ec8285289\",\"manufacturer\":\"HUAWEI\",\"model\":\"LLD-L31\",\"brand\":\"HONOR\",\"apiVersion\":\"26\",\"platformVersion\":\"8.0.0\",\"carrierName\":\"\",\"realDisplaySize\":\"1080x2160\",\"displayDensity\":480,\"networks\":[{\"type\":1,\"typeName\":\"WIFI\",\"subtype\":0,\"subtypeName\":\"\",\"isConnected\":true,\"detailedState\":\"CONNECTED\",\"state\":\"CONNECTED\",\"extraInfo\":\"\\\"E2-QA\\\"\",\"isAvailable\":true,\"isFailover\":false,\"isRoaming\":false,\"capabilities\":{\"transportTypes\":\"NET_CAPABILITY_SUPL\",\"networkCapabilities\":\"\",\"linkUpstreamBandwidthKbps\":1048576,\"linkDownBandwidthKbps\":1048576,\"signalStrength\":-45,\"networkSpecifier\":null,\"SSID\":null}}]}}" [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys window' [info] [AndroidDriver] Screen already unlocked, doing nothing [info] [UiAutomator2] UiAutomator2 did not start the activity we were waiting for, 'com.outfit7.mytalkingangelafree/com.outfit7.mytalkingangela.MyTalkingAngelaNativeActivity'. Starting it ourselves [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell am start -W -n com.outfit7.mytalkingangelafree/com.outfit7.mytalkingangela.MyTalkingAngelaNativeActivity -S'[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.outfit7.mytalkingangelafree' and activity: 'com.outfit7.mytalkingangela.MyTalkingAngelaNativeActivity' to be focused [debug] [ADB] Possible activities, to be checked: 'com.outfit7.mytalkingangela.MyTalkingAngelaNativeActivity', 'com.outfit7.mytalkingangelafree.com.outfit7.mytalkingangela.MyTalkingAngelaNativeActivity' [debug] [ADB] Getting focused package and activity [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys window windows'[debug] [ADB] Found package: 'com.outfit7.mytalkingangelafree' and fully qualified activity name : 'com.outfit7.mytalkingangela.MyTalkingAngelaNativeActivity' [debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://localhost:8200/wd/hub/session/32f9f2af-2421-465a-bb7e-5cfbe45976ff/appium/device/pixel_ratio] with body: {} [debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"32f9f2af-2421-465a-bb7e-5cfbe45976ff\",\"status\":0,\"value\":3}" [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://localhost:8200/wd/hub/session/32f9f2af-2421-465a-bb7e-5cfbe45976ff/appium/device/system_bars] with body: {} [debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"32f9f2af-2421-465a-bb7e-5cfbe45976ff\",\"status\":0,\"value\":{\"statusBar\":72}}" [debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' [debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://localhost:8200/wd/hub/session/32f9f2af-2421-465a-bb7e-5cfbe45976ff/window/current/size] with body: {} [debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"32f9f2af-2421-465a-bb7e-5cfbe45976ff\",\"status\":0,\"value\":{\"height\":2032,\"width\":1080}}" [info] [Appium] New AndroidUiautomator2Driver session created successfully, session 3c3eafc4-83ce-4739-afbe-cbb3725aab97 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1575033400343 (14:16:40 GMT+0100 (Central Europe Standard Time)) [debug] [W3C (3c3eafc4)] Cached the protocol value 'W3C' for the new session 3c3eafc4-83ce-4739-afbe-cbb3725aab97 [debug] [W3C (3c3eafc4)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","deviceName":"Android Device","fullReset":true},"platformName":"android","app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","deviceName":"WYUNW18A26001536","fullReset":true,"deviceUDID":"WYUNW18A26001536","appPackage":"com.outfit7.mytalkingangelafree","deviceApiLevel":26,"platformVersion":"8.0.0","deviceScreenSize":"1080x2160","deviceScreenDensity":480,"deviceModel":"LLD-L31","deviceManufacturer":"HUAWEI","pixelRatio":3,"statBarHeight":72,"viewportRect":{"left":0,"top":72,"width":1080,"height":1960}}} [info] [HTTP] <-- POST /wd/hub/session 200 29478 ms - 885 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97 [info] [HTTP] {} [debug] [W3C (3c3eafc4)] Calling AppiumDriver.getSession() with args: ["3c3eafc4-83ce-4739-afbe-cbb3725aab97"] [debug] [UiAutomator2] Getting session details from server to mix in [debug] [WD Proxy] Matched '/' to command name 'getSession' [debug] [WD Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/32f9f2af-2421-465a-bb7e-5cfbe45976ff] with body: {}[debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"32f9f2af-2421-465a-bb7e-5cfbe45976ff\",\"status\":0,\"value\":{}}" [debug] [W3C (3c3eafc4)] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","deviceName":"Android Device","fullReset":true},"platformName":"android","app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","deviceName":"WYUNW18A26001536","fullReset":true,"deviceUDID":"WYUNW18A26001536","appPackage":"com.outfit7.mytalkingangelafree","deviceApiLevel":26,"platformVersion":"8.0.0","deviceScreenSize":"1080x2160","deviceScreenDensity":480,"deviceModel":"LLD-L31","deviceManufacturer":"HUAWEI","pixelRatio":3,"statBarHeight":72,"viewportRect":{"left":0,"top":72,"width":1080,"height":1960}} [info] [HTTP] <-- GET /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97 200 26 ms - 817 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97 [info] [HTTP] {} [debug] [W3C (3c3eafc4)] Calling AppiumDriver.getSession() with args: ["3c3eafc4-83ce-4739-afbe-cbb3725aab97"] [debug] [UiAutomator2] Getting session details from server to mix in [debug] [WD Proxy] Matched '/' to command name 'getSession' [debug] [WD Proxy] Proxying [GET /] to [GET http://localhost:8200/wd/hub/session/32f9f2af-2421-465a-bb7e-5cfbe45976ff] with body: {} [debug] [WD Proxy] Got response with status 200: "{\"sessionId\":\"32f9f2af-2421-465a-bb7e-5cfbe45976ff\",\"status\":0,\"value\":{}}" [debug] [W3C (3c3eafc4)] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","deviceName":"Android Device","fullReset":true},"platformName":"android","app":"C:\\JureL\\MTA30.apk","automationName":"UiAutomator2","deviceName":"WYUNW18A26001536","fullReset":true,"deviceUDID":"WYUNW18A26001536","appPackage":"com.outfit7.mytalkingangelafree","deviceApiLevel":26,"platformVersion":"8.0.0","deviceScreenSize":"1080x2160","deviceScreenDensity":480,"deviceModel":"LLD-L31","deviceManufacturer":"HUAWEI","pixelRatio":3,"statBarHeight":72,"viewportRect":{"left":0,"top":72,"width":1080,"height":1960}} [info] [HTTP] <-- GET /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97 200 23 ms - 817 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97/timeouts [info] [HTTP] {"implicit":60000} [debug] [W3C (3c3eafc4)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,60000,"3c3eafc4-83ce-4739-afbe-cbb3725aab97"] [debug] [BaseDriver] W3C timeout argument: {"implicit":60000}} [debug] [BaseDriver] Set implicit wait to 60000ms [debug] [W3C (3c3eafc4)] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97/timeouts 200 2 ms - 14 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97/element [info] [HTTP] {"using":"id","value":"com.outfit7.mytalkingangelafree:id/o7_permission_confirmation_button"} [debug] [W3C (3c3eafc4)] Calling AppiumDriver.findElement() with args: ["id","com.outfit7.mytalkingangelafree:id/o7_permission_confirmation_button","3c3eafc4-83ce-4739-afbe-cbb3725aab97"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator [debug] [BaseDriver] Waiting up to 60000 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/32f9f2af-2421-465a-bb7e-5cfbe45976ff/element] with body: {"strategy":"id","selector":"com.outfit7.mytalkingangelafree:id/o7_permission_confirmation_button","context":"","multiple":false}[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8200} [debug] [W3C (3c3eafc4)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8200 [debug] [W3C (3c3eafc4)] at JWProxy.command (C:\Users\Jure Labrovic\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:237:13) [info] [HTTP] <-- POST /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97/element 500 2012 ms - 639 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97/appium/device/pull_file [info] [HTTP] {"path":"/storage/emulated/0/Android/data/com.outfit7.mytalkingangelafree/files/O7AppLog2019-11-29-14-16-42.txt"} [debug] [W3C (3c3eafc4)] Calling AppiumDriver.pullFile() with args: ["/storage/emulated/0/Android/data/com.outfit7.mytalkingangelafree/files/O7AppLog2019-11-29-14-16-42.txt","3c3eafc4-83ce-4739-afbe-cbb3725aab97"] [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 pull /storage/emulated/0/Android/data/com.outfit7.mytalkingangelafree/files/O7AppLog2019-11-29-14-16-42.txt C\:\\Users\\JURELA~1\\AppData\\Local\\Temp\\appium20191029-10624-1l0mpsl.dsuw.tmp' [debug] [W3C (3c3eafc4)] Responding to client with driver.pullFile() result: "IyMjIyMjIyMjIyMjIyMjIyMjIyBTVEFSVEVEIE5FVyBMT0cgU0VTU0lPTiAjIyMjIyMjIyMjIyMjIyMjIyMjClZFUkJPU0UgMjAxOS0xMS0yOSAxNDoxNjo0Mi4wMTMgKHQxKSAtLSAjVXNlclByZWZzIC0tIFNhdmluZyBhbGwgdXNlciBwcmVmZXJlbmNlcwpERUJVRyAgIDIwMTktMTEtMjkgMTQ6MTY6NDEuNjI5ICh0MSkgLS0gI0dwdUJlbmNobWFyayAtLSBHcHUgUHJvZmlsZSBERUZBVUxUCkRFQlVHICAgMjAxOS0xMS0yOSAxNDoxNjo0Mi4wMzIgKHQxIGYwKSAtLSAjU3RhcnRVcENvbnRyb2xsZXIgLS0gQXdha2UKREVCVUcgICAyMDE5LTExLTI5IDE0OjE2OjQyLjAzNCAodDEgZjApIC0tICNTdGFydFVwQ29udHJvbGxlciAtLSBEb25lRG93bmxvYWRpbmdBc3NldHMKREVCVUcgICAyMDE5LTExLTI5IDE0OjE2OjQyLjA0MiAodDEgZjApIC0tICNTdGFydFVwQ29udHJvbGxlciAtLSBTdGFydEV4dHJhY3RpbmcKREVCVUcgICAyMDE5LTExLTI5IDE0OjE2OjQyLjA1NiAodDEgZjApIC0tICNTdGFydFVwQ29udHJvbGxlciAtLSBPbkFwcGxpY2F0aW9uUGF1c2UgRmFsc2UKREVCVUcgICAyMDE5LTExLTI5IDE0OjE2OjQyLjA3NyAodDEgZjEpIC0tICNMb2NhbGl6YXRpb25NYW5hZ2VyIC0tIEluaXRlZDsgT3ZlcnJpZGRlbkxhbmd1YWdlPQpWRVJCT1NFIDIwMTktMTEtMjkgMTQ6MTY6NDIuMDkzICh0MSBmMSkgLS0gI0FwcFBsdWdpbiAtLSBMYW5ndWFnZUNvZGU6IGVuLUdCClZFUkJPU0UgMjAxOS0xMS0yOSAxNDoxNjo0Mi4wOTUgKHQxIGYxKSAt... [info] [HTTP] <-- POST /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97/appium/device/pull_file 200 88 ms - 617756 [info] [HTTP]  [info] [HTTP] --> DELETE /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97 [info] [HTTP] {} [debug] [W3C (3c3eafc4)] Calling AppiumDriver.deleteSession() with args: ["3c3eafc4-83ce-4739-afbe-cbb3725aab97"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1575033425071 (14:17:05 GMT+0100 (Central Europe Standard Time)) [info] [Appium] Removing session 3c3eafc4-83ce-4739-afbe-cbb3725aab97 from our master session list [debug] [UiAutomator2] Deleting UiAutomator2 session [debug] [UiAutomator2] Deleting UiAutomator2 server session [debug] [WD Proxy] Matched '/' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/32f9f2af-2421-465a-bb7e-5cfbe45976ff] with no body[warn] [WD Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8200} [warn] [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8200 [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell am force-stop com.outfit7.mytalkingangelafree'[debug] [UiAutomator2] Capability 'fullReset' set to 'true', Uninstalling 'com.outfit7.mytalkingangelafree' [debug] [ADB] Uninstalling com.outfit7.mytalkingangelafree [debug] [ADB] Getting install status for com.outfit7.mytalkingangelafree [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell dumpsys package com.outfit7.mytalkingangelafree'[debug] [ADB] 'com.outfit7.mytalkingangelafree' is installed [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 shell am force-stop com.outfit7.mytalkingangelafree' [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 uninstall com.outfit7.mytalkingangelafree'[debug] [ADB] 'adb uninstall com.outfit7.mytalkingangelafree' command output: Success [info] [ADB] com.outfit7.mytalkingangelafree was successfully uninstalled [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8200 [debug] [ADB] Running 'C:\Users\Jure Labrovic\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s WYUNW18A26001536 forward --remove tcp\:8200'[warn] [UiAutomator2] Unable to remove port forward 'Error executing adbExec. Original error: 'Command ''C:\\Users\\Jure Labrovic\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe' -P 5037 -s WYUNW18A26001536 forward --remove tcp\:8200' exited with code 1'; Stderr: 'adb.exe: error: listener 'tcp:8200' not found'; Code: '1'' [debug] [BaseDriver] Event 'quitSessionFinished' logged at 1575033428196 (14:17:08 GMT+0100 (Central Europe Standard Time)) [debug] [W3C (3c3eafc4)] Received response: null [debug] [W3C (3c3eafc4)] But deleting session, so not returning [debug] [W3C (3c3eafc4)] Responding to client with driver.deleteSession() result: null [info] [HTTP] <-- DELETE /wd/hub/session/3c3eafc4-83ce-4739-afbe-cbb3725aab97 200 3126 ms - 14 [info] [HTTP]