Skip to content

Instantly share code, notes, and snippets.

@chetanJTH
Created June 23, 2021 08:32
Show Gist options
  • Save chetanJTH/b23d2dbbac416cb247a01d4f7c8d7ea5 to your computer and use it in GitHub Desktop.
Save chetanJTH/b23d2dbbac416cb247a01d4f7c8d7ea5 to your computer and use it in GitHub Desktop.
adb logs
[info] [Appium] Welcome to Appium v1.20.2
[info] [Appium] Non-default server args:
[info] [Appium] relaxedSecurityEnabled: true
[info] [Appium] allowInsecure: {
[info] [Appium] }
[info] [Appium] denyInsecure: {
[info] [Appium] }
[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:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk","appActivity":"net.slideshare.mobile.ui.SplashActivity","appPackage":"net.slideshare.mobile","noReset":false,"automationName":"UiAutomator2","name":"LoginVerification","platformName":"Android","deviceName":"Android Emulator"},"capabilities":{"alwaysMatch":{"appium:app":"C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk","appium:appActivity":"net.slideshare.mobile.ui.SplashActivity","appium:appPackage":"net.slideshare.mobile","appium:automationName":"UiAutomator2","appium:deviceName":"Android Emulator","name":"LoginVerification","appium:noReset":false,"platformName":"android"},"firstMatch":[{}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk","appActivity":"net.slideshare.mobile.ui.SplashActivity","appPackage":"net.slideshare.mobile","noReset":false,"automationName":"UiAutomator2","name":"LoginVerification","platformName":"Android","deviceName":"Android Emulator"},null,{"alwaysMatch":{"appium:app":"C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk","appium:appActivity":"net.slideshare.mobile.ui.SplashActivity","appium:appPackage":"net.slideshare.mobile","appium:automationName":"UiAutomator2","appium:deviceName":"Android Emulator","name":"LoginVerification","appium:noReset":false,"platformName":"android"},"firstMatch":[{}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1624436909647 (13:58:29 GMT+0530 (India Standard Time))
[warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[warn] [BaseDriver] name
[info] [Appium] Appium v1.20.2 creating new AndroidUiautomator2Driver (v1.61.2) session
[info] [Appium] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:name": "LoginVerification",
[debug] [BaseDriver] "platformName": "android",
[debug] [BaseDriver] "appium:app": "C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk",
[debug] [BaseDriver] "appium:appActivity": "net.slideshare.mobile.ui.SplashActivity",
[debug] [BaseDriver] "appium:appPackage": "net.slideshare.mobile",
[debug] [BaseDriver] "appium:automationName": "UiAutomator2",
[debug] [BaseDriver] "appium:deviceName": "Android Emulator",
[debug] [BaseDriver] "appium:noReset": false
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by Appium:
[warn] [BaseDriver] name
[info] [BaseDriver] Session created with session id: 21f0240a-77f6-492a-b42e-70bdb1e3d71b[info] [ADB] Found 1 'build-tools' folders under 'C:\Users\HP\AppData\Local\Android\Sdk' (newest first):
[info] [ADB] C:/Users/HP/AppData/Local/Android/Sdk/build-tools/30.0.3
[info] [ADB] Using 'adb.exe' from 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices[debug] [ADB] Connected devices: [{"udid":"AIRCLRE66HEQROR8","state":"device"}]
[info] [AndroidDriver] Using device: AIRCLRE66HEQROR8
[info] [ADB] Using 'adb.exe' from 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[debug] [ADB] Setting device id to AIRCLRE66HEQROR8
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell getprop ro.build.version.sdk'[debug] [ADB] Current device property 'ro.build.version.sdk': 29
[info] [ADB] Getting device platform version
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell getprop ro.build.version.release'[debug] [ADB] Current device property 'ro.build.version.release': 10
[debug] [ADB] Device API level: 29
[info] [UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 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] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 wait-for-device'
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 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\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell dumpsys package io.appium.settings'[debug] [ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (29 > 28)
[debug] [ADB] There is no need to downgrade 'io.appium.settings'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell 'pgrep --help; echo $?''[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 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] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell appops set io.appium.settings android:mock_location allow'[debug] [Logcat] Starting logs capture with command: C:\\Users\\HP\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s AIRCLRE66HEQROR8 logcat -v threadtime[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 forward tcp:8200 tcp:6790'[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 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\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version code of the installed 'io.appium.uiautomator2.server' is greater than the application version code (84 > 79)
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: newerVersionInstalled
[debug] [ADB] Checking app cert for C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk
[info] [ADB] Using 'apksigner.jar' from 'C:\Users\HP\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar'
[debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_281\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\HP\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.3\\lib\\apksigner.jar verify --print-certs 'C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.17.4.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 'appium-uiautomator2-server-v4.17.4.apk'
[info] [ADB] 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk' is signed with the default certificate
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_281\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\HP\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.3\\lib\\apksigner.jar verify --print-certs 'C:\\Program Files\\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] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[info] [ADB] 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[info] [UiAutomator2] Server packages are going to be (re)installed
[info] [UiAutomator2] Full packages reinstall is going to be performed
[debug] [ADB] Uninstalling io.appium.uiautomator2.server
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell am force-stop io.appium.uiautomator2.server'[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 uninstall io.appium.uiautomator2.server'[debug] [ADB] 'adb uninstall io.appium.uiautomator2.server' command output: Success
[info] [ADB] io.appium.uiautomator2.server was successfully uninstalled
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 version'[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 features'
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 help'[info] [ADB] The application at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk' will not be cached, because the device under test has confirmed the support of streamed installs
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 install -r --no-incremental 'C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.17.4.apk''[info] [ADB] The installation of 'appium-uiautomator2-server-v4.17.4.apk' took 9131ms
[debug] [ADB] Install command stdout: Performing Streamed Install
[debug] [ADB] Success
[debug] [ADB] Uninstalling io.appium.uiautomator2.server.test
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell am force-stop io.appium.uiautomator2.server.test'[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 uninstall io.appium.uiautomator2.server.test'[debug] [ADB] 'adb uninstall io.appium.uiautomator2.server.test' command output: Success
[info] [ADB] io.appium.uiautomator2.server.test was successfully uninstalled
[info] [ADB] The application at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' will not be cached, because the device under test has confirmed the support of streamed installs
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 install -r --no-incremental 'C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk''[info] [ADB] The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 3882ms
[debug] [ADB] Install command stdout: Performing Streamed Install
[debug] [ADB] Success
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[info] [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[debug] [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]]
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'[debug] [ADB] Checking app cert for C:\Users\HP\IdeaProjects\commonFramework\src\main\java\app\stc.apk
[debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_281\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\HP\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: CN=Android Debug, O=Android, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: 88ebd299ea9cbf2c44a14fb1f0422772d5a353ea13c8cf38ca24a18b46f659c1
[debug] [ADB] Signer #1 certificate SHA-1 digest: eca9843b741a3cf33da6b36e69de83310cc92ba5
[debug] [ADB] Signer #1 certificate MD5 digest: 8de3543ee08c70b81b83c11e51cf1134
[debug] [ADB]
[info] [ADB] 'C:\Users\HP\IdeaProjects\commonFramework\src\main\java\app\stc.apk' is signed with a non-default certificate
[debug] [ADB] Getting install status for net.slideshare.mobile
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell dumpsys package net.slideshare.mobile'[debug] [ADB] 'net.slideshare.mobile' is not installed
[debug] [ADB] App 'C:\Users\HP\IdeaProjects\commonFramework\src\main\java\app\stc.apk' is not installed
[debug] [ADB] Installing 'C:\Users\HP\IdeaProjects\commonFramework\src\main\java\app\stc.apk'
[info] [ADB] The application at 'C:\Users\HP\IdeaProjects\commonFramework\src\main\java\app\stc.apk' will not be cached, because the device under test has confirmed the support of streamed installs
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 install C:\Users\HP\IdeaProjects\commonFramework\src\main\java\app\stc.apk'[info] [ADB] The installation of 'stc.apk' took 15046ms
[debug] [ADB] Install command stdout: Performing Streamed Install
[debug] [ADB] Success
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers[debug] [UiAutomator2] No obsolete sessions have been detected (socket hang up)
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.17.4
[info] [UiAutomator2] Using UIAutomator2 server from 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.17.4.apk' and test from 'C:\Program Files\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","AIRCLRE66HEQROR8","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://127.0.0.1:8200/wd/hub/status] with no body[info] [WD Proxy] socket hang up[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] socket hang up[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] socket hang up[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] socket hang up[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] socket hang up[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] socket hang up[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] socket hang up[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://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] socket hang up[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] socket hang up[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 9690ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","name":"LoginVerification","app":"C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk","appActivity":"net.slideshare.mobile.ui.SplashActivity","appPackage":"net.slideshare.mobile","automationName":"UiAutomator2","deviceName":"Android Emulator","noReset":false},"platformName":"android","name":"LoginVerification","app":"C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk","appActivity":"net.slideshare.mobile.ui.SplashActivity","appPackage":"net.slideshare.mobile","automationName":"UiAutomator2","deviceName":"AIRCLRE66HEQROR8","noReset":false,"deviceUDID":"AIRCLRE66HEQROR8"}],"alwaysMatch":{}}}[debug] [WD Proxy] Got response with status 200: {"sessionId":"bdd0ec94-e3e7-46b7-9cda-d44d275b5d5d","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","name":"LoginVerification","app":"C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk","appActivity":"net.slideshare.mobile.ui.SplashActivity","appPackage":"net.slideshare.mobile","automationName":"UiAutomator2","deviceName":"Android Emulator","noReset":false},"platformName":"android","name":"LoginVerification","app":"C:\\Users\\HP\\IdeaProjects\\commonFramework\\src\\main\\java\\app\\stc.apk","appActivity":"net.slideshare.mobile.ui.SplashActivity","appPackage":"net.slideshare.mobile","automationName":"UiAutomator2","deviceName":"AIRCLRE66HEQROR8","noReset":false,"deviceUDID":"AIRCLRE66HEQROR8"}],"alwaysMatch":{}},"sessionId":"bdd0ec94-e3e7-46b7-9cda-d44d275b5d5d"}}
[info] [WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/bdd0ec94-e3e7-46b7-9cda-d44d275b5d5d/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"bdd0ec94-e3e7-46b7-9cda-d44d275b5d5d","value":{"androidId":"ba06afdff4d3c972","apiVersion":"29","bluetooth":{"state":"OFF"},"brand":"realme","carrierName":"","displayDensity":320,"locale":"en_US","manufacturer":"realme","model":"RMX2185","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":-32,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"\"stc_wifi_b55d\"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"10","realDisplaySize":"720x1600","timeZone":"Asia/Kolkata"}}
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing
[info] [UiAutomator2] Starting 'net.slideshare.mobile/net.slideshare.mobile.ui.SplashActivity and waiting for 'net.slideshare.mobile/net.slideshare.mobile.ui.SplashActivity'
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell am start -W -n net.slideshare.mobile/net.slideshare.mobile.ui.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'[debug] [ADB] We tried to start an activity that doesn't exist, retrying with '.net.slideshare.mobile.ui.SplashActivity' activity name
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell am start -W -n net.slideshare.mobile/.net.slideshare.mobile.ui.SplashActivity -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/bdd0ec94-e3e7-46b7-9cda-d44d275b5d5d] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"bdd0ec94-e3e7-46b7-9cda-d44d275b5d5d","value":null}
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 shell am force-stop net.slideshare.mobile'[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 forward --remove tcp:8200'[info] [UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running 'C:\Users\HP\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s AIRCLRE66HEQROR8 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] [Instrumentation] .
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1624436971192 (13:59:31 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Cannot start the 'net.slideshare.mobile' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Cannot start the 'net.slideshare.mobile' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Activity name '.net.slideshare.mobile.ui.SplashActivity' used to start the app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity
[debug] [W3C] at ADB.startApp (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:177:11)
[info] [HTTP] <-- POST /wd/hub/session 500 61655 ms - 1697
[info] [HTTP] [debug] [Instrumentation] Time: 6.327
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
[debug] [Instrumentation] The process has exited with code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment