Skip to content

Instantly share code, notes, and snippets.

@rupalbiyani
Created January 22, 2020 05:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rupalbiyani/52d15b453a1e1056011ec7987080c4c5 to your computer and use it in GitHub Desktop.
Save rupalbiyani/52d15b453a1e1056011ec7987080c4c5 to your computer and use it in GitHub Desktop.
[info] [Appium] Welcome to Appium v1.15.1
[info] [Appium] Non-default server args:
[info] [Appium] allowInsecure: {
[info] [Appium] }
[info] [Appium] denyInsecure: {
[info] [Appium] }[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"--log-level":"debug","appActivity":"in.helloparent.teacher.view.SplashActivity","appPackage":"in.helloparent.teacher","noReset":true,"platformVersion":"9.0","appWaitActivity":"*","automationName":"uiautomator2","platformName":"Android","deviceName":"My Phone"},"capabilities":{"firstMatch":[{"--log-level":"debug","appium:appActivity":"in.helloparent.teacher.view.SplashActivity","appium:appPackage":"in.helloparent.teacher","appium:appWaitActivity":"*","appium:automationName":"uiautomator2","appium:deviceName":"My Phone","appium:noReset":true,"platformName":"android","appium:platformVersion":"9.0"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"--log-level":"debug","appActivity":"in.helloparent.teacher.view.SplashActivity","appPackage":"in.helloparent.teacher","noReset":true,"platformVersion":"9.0","appWaitActivity":"*","automationName":"uiautomator2","platformName":"Android","deviceName":"My Phone"},null,{"firstMatch":[{"--log-level":"debug","appium:appActivity":"in.helloparent.teacher.view.SplashActivity","appium:appPackage":"in.helloparent.teacher","appium:appWaitActivity":"*","appium:automationName":"uiautomator2","appium:deviceName":"My Phone","appium:noReset":true,"platformName":"android","appium:platformVersion":"9.0"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1579670353029 (10:49:13 GMT+0530 (India Standard Time))
[warn] [BaseDriver] The capabilities ["--log-level"] are not standard capabilities and should have an extension prefix
[info] [Appium] Appium v1.15.1 creating new AndroidUiautomator2Driver (v1.37.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:--log-level": "debug",
[debug] [BaseDriver] "platformName": "android",
[debug] [BaseDriver] "appium:appActivity": "in.helloparent.teacher.view.SplashActivity",
[debug] [BaseDriver] "appium:appPackage": "in.helloparent.teacher",
[debug] [BaseDriver] "appium:appWaitActivity": "*",
[debug] [BaseDriver] "appium:automationName": "uiautomator2",
[debug] [BaseDriver] "appium:deviceName": "My Phone",
[debug] [BaseDriver] "appium:noReset": true,
[debug] [BaseDriver] "appium:platformVersion": "9.0"
[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] --log-level
[info] [BaseDriver] Session created with session id: 967d23be-46e2-4610-8d25-126472a63e32
[info] [UiAutomator2] Starting 'in.helloparent.teacher' directly on the device[info] [ADB] Found 1 'build-tools' folders under 'C:\Users\rupal\AppData\Local\Android\Sdk' (newest first):
[info] [ADB] C:/Users/rupal/AppData/Local/Android/Sdk/build-tools/29.0.2
[info] [ADB] Using 'adb.exe' from 'C:\Users\rupal\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] Connected devices: [{"udid":"2NYDU18424003189","state":"device"},{"udid":"emulator-5554","state":"device"}]
[info] [AndroidDriver] Looking for a device with Android '9.0'
[debug] [ADB] Setting device id to 2NYDU18424003189
[info] [ADB] Getting device platform version
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell getprop ro.build.version.release'[debug] [ADB] Current device property 'ro.build.version.release': 9
[info] [AndroidDriver] Using device: 2NYDU18424003189
[info] [ADB] Using 'adb.exe' from 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[debug] [ADB] Setting device id to 2NYDU18424003189
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 28
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell getprop ro.build.version.release'[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell settings put global hidden_api_policy_p_apps 1'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell settings put global hidden_api_policy 1'[warn] [AndroidDriver] No app sent in, not parsing package/activity
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 wait-for-device'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell echo ping'[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 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\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell dumpsys package io.appium.settings'[info] [ADB] Cannot extract apk info using apkanalyzer. Falling back to aapt. Original error: Could not find 'apkanalyzer.bat' in ["C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\platform-tools\\apkanalyzer.bat","C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\emulator\\apkanalyzer.bat","C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\tools\\apkanalyzer.bat","C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\tools\\bin\\apkanalyzer.bat","C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\build-tools\\29.0.2\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'C:\Users\rupal\AppData\Local\Android\Sdk'?
[info] [ADB] Using 'aapt.exe' from 'C:\Users\rupal\AppData\Local\Android\Sdk\build-tools\29.0.2\aapt.exe'[debug] [ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (24 > 19)
[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\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell 'pgrep --help; echo $?''
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell pgrep -f io\\.appium\\.settings'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell am start -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER'[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell pgrep -f io\\.appium\\.settings'[debug] [Logcat] Starting logcat capture
[info] [UiAutomator2] Server package at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.3.0.apk' is not writeable. Will copy it into the temporary location at 'C:\Users\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06' as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.
[info] [UiAutomator2] Server package at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is not writeable. Will copy it into the temporary location at 'C:\Users\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06' as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 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\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell dumpsys package io.appium.uiautomator2.server'[info] [ADB] Cannot extract apk info using apkanalyzer. Falling back to aapt. Original error: Could not find 'apkanalyzer.bat' in ["C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\platform-tools\\apkanalyzer.bat","C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\emulator\\apkanalyzer.bat","C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\tools\\apkanalyzer.bat","C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\tools\\bin\\apkanalyzer.bat","C:\\Users\\rupal\\AppData\\Local\\Android\\Sdk\\build-tools\\29.0.2\\apkanalyzer.bat"]. Do you have Android Build Tools installed at 'C:\Users\rupal\AppData\Local\Android\Sdk'?
[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.3.0' >= '4.3.0')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for C:\Users\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06\appium-uiautomator2-server-v4.3.0.apk
[info] [ADB] Using 'apksigner.bat' from 'C:\Users\rupal\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat'
[debug] [ADB] Starting 'C:\Users\rupal\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\rupal\\AppData\\Local\\Temp\\2020022-10536-qz6bo7.fh06\\appium-uiautomator2-server-v4.3.0.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\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06\appium-uiautomator2-server-v4.3.0.apk' is already signed.
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 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\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06\appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting 'C:\Users\rupal\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' with args '["verify","--print-certs","C:\\Users\\rupal\\AppData\\Local\\Temp\\2020022-10536-qz6bo7.fh06\\appium-uiautomator2-server-debug-androidTest.apk"]'[debug] [ADB] apksigner stdout: Signer #1 certificate DN: CN=Android Debug, O=Android, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: 3e4f2ab66d641bbbd363421151755f8b12b66ea37a5db43c52116596b7392a8e
[debug] [ADB] Signer #1 certificate SHA-1 digest: e24fc8971c0aad07d1df6cc62af7fb0d48b45b60
[debug] [ADB] Signer #1 certificate MD5 digest: 5623d53469c7f7147b52ace9d09901eb
[debug] [ADB]
[debug] [ADB] 'C:\Users\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06\appium-uiautomator2-server-debug-androidTest.apk' is signed with non-default certificate
[info] [ADB] Using 'zipalign.exe' from 'C:\Users\rupal\AppData\Local\Android\Sdk\build-tools\29.0.2\zipalign.exe'
[debug] [ADB] C:\Users\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06\appium-uiautomator2-server-debug-androidTest.apk' is already zip-aligned. Doing nothing
[debug] [ADB] Signing 'C:\Users\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06\appium-uiautomator2-server-debug-androidTest.apk' with default cert
[debug] [ADB] Starting 'C:\Users\rupal\AppData\Local\Android\Sdk\build-tools\29.0.2\apksigner.bat' with args '["sign","--key","C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.pk8","--cert","C:\\Program Files\\Appium\\resources\\app\\node_modules\\appium\\node_modules\\appium-adb\\keys\\testkey.x509.pem","C:\\Users\\rupal\\AppData\\Local\\Temp\\2020022-10536-qz6bo7.fh06\\appium-uiautomator2-server-debug-androidTest.apk"]'[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\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell am force-stop io.appium.uiautomator2.server'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 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\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
[debug] [ADB] The count of applications in the cache: 6
[info] [ADB] The application at 'C:\Users\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06\appium-uiautomator2-server-v4.3.0.apk' is already cached to '/data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell pm install -r /data/local/tmp/appium_cache/0cc1725a60a05dbb5d0d09256f2fc6ece7e3b10f.apk'[info] [ADB] The installation of 'appium-uiautomator2-server-v4.3.0.apk' took 1.157s
[debug] [ADB] Install command stdout: 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\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell am force-stop io.appium.uiautomator2.server.test'[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 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
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
[debug] [ADB] The count of applications in the cache: 6
[info] [ADB] The application at 'C:\Users\rupal\AppData\Local\Temp\2020022-10536-qz6bo7.fh06\appium-uiautomator2-server-debug-androidTest.apk' is already cached to '/data/local/tmp/appium_cache/cd247f042368990c9f33b2d7bf2390d8cf4f4e24.apk'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell pm install -r /data/local/tmp/appium_cache/cd247f042368990c9f33b2d7bf2390d8cf4f4e24.apk'[info] [ADB] The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 0.855s
[debug] [ADB] Install command stdout: Success
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 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\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 forward tcp\:8200 tcp\:6790'
[debug] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (Error: socket hang up)
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell am force-stop io.appium.uiautomator2.server.test'[info] [UiAutomator2] Starting UIAutomator2 server 4.3.0
[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.3.0.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","2NYDU18424003189","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
[info] [WD Proxy] Got an unexpected response with status undefined: {"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[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","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 3227ms
[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: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","--log-level":"debug","appActivity":"in.helloparent.teacher.view.SplashActivity","appPackage":"in.helloparent.teacher","appWaitActivity":"*","automationName":"uiautomator2","deviceName":"My Phone","noReset":true,"platformVersion":"9.0"},"platformName":"android","--log-level":"debug","appActivity":"in.helloparent.teacher.view.SplashActivity","appPackage":"in.helloparent.teacher","appWaitActivity":"*","automationName":"uiautomator2","deviceName":"2NYDU18424003189","noReset":true,"platformVersion":"9.0","deviceUDID":"2NYDU18424003189"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"69237272-bd48-4742-9323-8174e28c0b4c","value":{"sessionId":"69237272-bd48-4742-9323-8174e28c0b4c","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"android","--log-level":"debug","appActivity":"in.helloparent.teacher.view.SplashActivity","appPackage":"in.helloparent.teacher","appWaitActivity":"*","automationName":"uiautomator2","deviceName":"My Phone","noReset":true,"platformVersion":"9.0"},"platformName":"android","--log-level":"debug","appActivity":"in.helloparent.teacher.view.SplashActivity","appPackage":"in.helloparent.teacher","appWaitActivity":"*","automationName":"uiautomator2","deviceName":"2NYDU18424003189","noReset":true,"platformVersion":"9.0","deviceUDID":"2NYDU18424003189"}],"alwaysMatch":{}}}}
[info] [WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://localhost:8200/wd/hub/session/69237272-bd48-4742-9323-8174e28c0b4c/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"69237272-bd48-4742-9323-8174e28c0b4c","value":{"androidId":"b104578c857d74d7","manufacturer":"HUAWEI","model":"COL-AL10","brand":"HONOR","apiVersion":"28","platformVersion":"9","carrierName":"Jio 4G","realDisplaySize":"1080x2280","displayDensity":480,"networks":[{"type":1,"typeName":"WIFI","subtype":0,"subtypeName":"","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":null,"isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"NET_CAPABILITY_SUPL","networkCapabilities":"","linkUpstreamBandwidthKbps":1048576,"linkDownBandwidthKbps":1048576,"signalStrength":-64,"networkSpecifier":null,"SSID":null}}],"locale":"en_IN","timeZone":"Asia\/Kolkata"}}
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell dumpsys window'[info] [AndroidDriver] Screen already unlocked, doing nothing
[info] [UiAutomator2] Starting 'in.helloparent.teacher/in.helloparent.teacher.view.SplashActivity and waiting for 'in.helloparent.teacher/*'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell am start -W -n in.helloparent.teacher/in.helloparent.teacher.view.SplashActivity -S'[debug] [ADB] We tried to start an activity that doesn't exist, retrying with '.in.helloparent.teacher.view.SplashActivity' activity name
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell am start -W -n in.helloparent.teacher/.in.helloparent.teacher.view.SplashActivity -S'[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/69237272-bd48-4742-9323-8174e28c0b4c] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"69237272-bd48-4742-9323-8174e28c0b4c","value":null}
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell am force-stop in.helloparent.teacher'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 forward --remove tcp\:8200'[info] [UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell settings delete global hidden_api_policy_pre_p_apps'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell settings delete global hidden_api_policy_p_apps'
[debug] [ADB] Running 'C:\Users\rupal\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 2NYDU18424003189 shell settings delete global hidden_api_policy'[debug] [BaseDriver] Event 'newSessionStarted' logged at 1579670375161 (10:49:35 GMT+0530 (India Standard Time))
[debug] [W3C] Encountered internal error running command: Error: Cannot start the 'in.helloparent.teacher' 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 'in.helloparent.teacher' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Activity name '.in.helloparent.teacher.view.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:153:11)
[info] [HTTP] <-- POST /wd/hub/session 500 22213 ms - 1774
[info] [HTTP] 
[debug] [Instrumentation] .[debug] [Instrumentation] Time: 3.055
[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