[debug] [WD Proxy] Got response with status 200: {"sessionId":"eb638ce2-8abd-4d60-8d50-9177bfd802fb","value":{"androidId":"af63952da078f6ea","apiVersion":"29","bluetooth":{"state":"OFF"},"brand":"Redmi","carrierName":"Vodafone UA","displayDensity":440,"locale":"en_US","manufacturer":"Xiaomi","model":"M2003J15SC","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":1048576,"linkUpstreamBandwidthKbps":1048576,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-39,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":null,"isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"10","realDisplaySize":"1080x2340","timeZone":"Europe/Kiev"}} [debug] [ADB] Running '/Users/admin/Library/Android/sdk/platform-tools/adb -P 5037 -s 1eb8c15d0407 shell dumpsys window' [debug] [AndroidDriver] Screen is locked, trying to unlock [AndroidDriver] Using app unlock, this is going to be deprecated! [AndroidDriver] Unlocking screen [AndroidDriver] Launching .Unlock [debug] [ADB] Running '/Users/admin/Library/Android/sdk/platform-tools/adb -P 5037 -s 1eb8c15d0407 shell am start -n io.appium.settings/.Unlock -c android.intent.category.LAUNCHER -a android.intent.action.MAIN -f 0x10200000' [UiAutomator2] Starting 'com.adeya.android/.application.ui.authentication.EntryPointActivity and waiting for 'com.adeya.android/.application.ui.authentication.EntryPointActivity' [debug] [ADB] Running '/Users/admin/Library/Android/sdk/platform-tools/adb -P 5037 -s 1eb8c15d0407 shell am start -W -n com.adeya.android/.application.ui.authentication.EntryPointActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [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://127.0.0.1:8200/wd/hub/session/eb638ce2-8abd-4d60-8d50-9177bfd802fb] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"eb638ce2-8abd-4d60-8d50-9177bfd802fb","value":null} [debug] [ADB] Running '/Users/admin/Library/Android/sdk/platform-tools/adb -P 5037 -s 1eb8c15d0407 shell am force-stop com.adeya.android' [debug] [Instrumentation] . [debug] [Logcat] Stopping logcat capture [debug] [ADB] Removing forwarded port socket connection: 8200 [debug] [ADB] Running '/Users/admin/Library/Android/sdk/platform-tools/adb -P 5037 -s 1eb8c15d0407 forward --remove tcp:8200' [UiAutomator2] Restoring hidden api policy to the device default configuration [debug] [ADB] Running '/Users/admin/Library/Android/sdk/platform-tools/adb -P 5037 -s 1eb8c15d0407 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] [BaseDriver] Event 'newSessionStarted' logged at 1610693759706 (08:55:59 GMT+0200 (Eastern European Standard Time)) [debug] [MJSONWP] Encountered internal error running command: Error: Cannot start the 'com.adeya.android' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command '/Users/admin/Library/Android/sdk/platform-tools/adb -P 5037 -s 1eb8c15d0407 shell am start -W -n com.adeya.android/.application.ui.authentication.EntryPointActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' timed out after 20000ms'. Try to increase the 20000ms adb execution timeout represented by 'adbExecTimeout' capability [debug] [MJSONWP] at ADB.startApp (/Users/admin/.nvm/versions/node/v14.15.1/lib/node_modules/appium/node_modules/appium-adb/lib/tools/apk-utils.js:177:11) [debug] [MJSONWP] at AndroidUiautomator2Driver.ensureAppStarts (/Users/admin/.nvm/versions/node/v14.15.1/lib/node_modules/appium/node_modules/appium-uiautomator2-driver/lib/driver.js:554:7) [debug] [MJSONWP] at AndroidUiautomator2Driver.startUiAutomator2Session (/Users/admin/.nvm/versions/node/v14.15.1/lib/node_modules/appium/node_modules/appium-uiautomator2-driver/lib/driver.js:422:7) [debug] [MJSONWP] at AndroidUiautomator2Driver.createSession (/Users/admin/.nvm/versions/node/v14.15.1/lib/node_modules/appium/node_modules/appium-uiautomator2-driver/lib/driver.js:224:7) [debug] [MJSONWP] at AppiumDriver.createSession (/Users/admin/.nvm/versions/node/v14.15.1/lib/node_modules/appium/lib/appium.js:371:35) [HTTP] <-- POST /wd/hub/session 500 29233 ms - 752 [HTTP] [HTTP] --> DELETE /wd/hub/session [HTTP] {} [debug] [HTTP] No route found for /wd/hub/session [HTTP] <-- DELETE /wd/hub/session 404 5 ms - 211 [HTTP] [debug] [Instrumentation] Time: 24.149 [debug] [Instrumentation] [debug] [Instrumentation] OK (1 test) [debug] [Instrumentation] The process has exited with code 0