Skip to content

Instantly share code, notes, and snippets.

@Underson888
Created August 16, 2023 16:30
Show Gist options
  • Save Underson888/8871bca07b3241d7aa6f810e9a7bc16c to your computer and use it in GitHub Desktop.
Save Underson888/8871bca07b3241d7aa6f810e9a7bc16c to your computer and use it in GitHub Desktop.
The logs of appium server (error: socket hang up)
PS C:\Users\12624> appium -p 4723
[Appium] Welcome to Appium v2.0.1
[Appium] Attempting to load driver uiautomator2...
[debug] [Appium] Requiring driver at C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver
[Appium] Attempting to load driver espresso...
[debug] [Appium] Requiring driver at C:\Users\12624\.appium\node_modules\appium-espresso-driver
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLS in your client code to connect to this server:
[Appium] http://172.17.224.1:4723/
[Appium] http://192.168.91.1:4723/
[Appium] http://192.168.3.2:4723/
[Appium] http://172.20.10.3:4723/
[Appium] http://192.168.137.1:4723/
[Appium] http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] Available drivers:
[Appium] - [email protected] (automationName 'UiAutomator2')
[Appium] - [email protected] (automationName 'Espresso')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[debug] [HTTP] Request idempotency key: 06ae0006-67d7-4a84-af26-0572babee768
[HTTP] --> POST /session
[HTTP] {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"appium:appActivity":".Settings","appium:appPackage":"com.android.settings","appium:automationName":"uiautomator2","appium:udid":"192.168.137.204:5555","platformName":"Android","appium:systemPort":8310}}}
[debug] [AppiumDriver@a740] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"appium:appActivity":".Settings","appium:appPackage":"com.android.settings","appium:automationName":"uiautomator2","appium:udid":"192.168.137.204:5555","platformName":"Android","appium:systemPort":8310}}]
[debug] [AppiumDriver@a740] Event 'newSessionRequested' logged at 1692203322220 (00:28:42 GMT+0800 (中国标准时间))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver
[debug] [Appium] Requiring driver at C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver
[AppiumDriver@a740] Appium v2.0.1 creating new AndroidUiautomator2Driver (v2.29.3) session
[AppiumDriver@a740] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@a740] Appium's BaseDriver version is 9.3.16
[AppiumDriver@a740] AndroidUiautomator2Driver's BaseDriver version is 9.3.16
[debug] [AndroidUiautomator2Driver@6299] Creating session with W3C capabilities: {
[debug] [AndroidUiautomator2Driver@6299] "alwaysMatch": {
[debug] [AndroidUiautomator2Driver@6299] "platformName": "Android",
[debug] [AndroidUiautomator2Driver@6299] "appium:appActivity": ".Settings",
[debug] [AndroidUiautomator2Driver@6299] "appium:appPackage": "com.android.settings",
[debug] [AndroidUiautomator2Driver@6299] "appium:automationName": "uiautomator2",
[debug] [AndroidUiautomator2Driver@6299] "appium:udid": "192.168.137.204:5555",
[debug] [AndroidUiautomator2Driver@6299] "appium:systemPort": 8310
[debug] [AndroidUiautomator2Driver@6299] },
[debug] [AndroidUiautomator2Driver@6299] "firstMatch": [
[debug] [AndroidUiautomator2Driver@6299] {}
[debug] [AndroidUiautomator2Driver@6299] ]
[debug] [AndroidUiautomator2Driver@6299] }
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] Session created with session id: 3f9c7dd4-7725-4e3e-a8a5-584397ba35aa
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] Starting 'com.android.settings' directly on the device
[debug] [HTTP] Request idempotency key: 68fc4d48-7b76-4d51-93cf-2c5b7bb28e2a
[HTTP] --> POST /session
[HTTP] {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"appium:appActivity":".Settings","appium:appPackage":"com.android.settings","appium:automationName":"uiautomator2","appium:udid":"192.168.137.58:5555","platformName":"Android","appium:systemPort":8322}}}
[debug] [AppiumDriver@a740] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"appium:appActivity":".Settings","appium:appPackage":"com.android.settings","appium:automationName":"uiautomator2","appium:udid":"192.168.137.58:5555","platformName":"Android","appium:systemPort":8322}}]
[debug] [AppiumDriver@a740] Event 'newSessionRequested' logged at 1692203322237 (00:28:42 GMT+0800 (中国标准时间))
[Appium] Attempting to find matching driver for automationName 'uiautomator2' and platformName 'Android'
[Appium] The 'uiautomator2' driver was installed and matched caps.
[Appium] Will require it at C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver
[debug] [Appium] Requiring driver at C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver
[AppiumDriver@a740] Appium v2.0.1 creating new AndroidUiautomator2Driver (v2.29.3) session
[AppiumDriver@a740] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
[AppiumDriver@a740] Appium's BaseDriver version is 9.3.16
[AppiumDriver@a740] AndroidUiautomator2Driver's BaseDriver version is 9.3.16
[debug] [AndroidUiautomator2Driver@2a36] Creating session with W3C capabilities: {
[debug] [AndroidUiautomator2Driver@2a36] "alwaysMatch": {
[debug] [AndroidUiautomator2Driver@2a36] "platformName": "Android",
[debug] [AndroidUiautomator2Driver@2a36] "appium:appActivity": ".Settings",
[debug] [AndroidUiautomator2Driver@2a36] "appium:appPackage": "com.android.settings",
[debug] [AndroidUiautomator2Driver@2a36] "appium:automationName": "uiautomator2",
[debug] [AndroidUiautomator2Driver@2a36] "appium:udid": "192.168.137.58:5555",
[debug] [AndroidUiautomator2Driver@2a36] "appium:systemPort": 8322
[debug] [AndroidUiautomator2Driver@2a36] },
[debug] [AndroidUiautomator2Driver@2a36] "firstMatch": [
[debug] [AndroidUiautomator2Driver@2a36] {}
[debug] [AndroidUiautomator2Driver@2a36] ]
[debug] [AndroidUiautomator2Driver@2a36] }
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Session created with session id: d9ca1b98-4c4b-47d9-a87b-6f762c367de7
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Starting 'com.android.settings' directly on the device
[ADB] Found 1 'build-tools' folders under 'D:\tiktok\android_sdk\android-sdk-windows' (newest first):
[ADB] D:/tiktok/android_sdk/android-sdk-windows/build-tools/29.0.3
[ADB] Using 'adb.exe' from 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 start-server'
[ADB] Using 'adb.exe' from 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 start-server'
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"192.168.137.204:5555","state":"device"},{"udid":"192.168.137.58:5555","state":"device"}]
[AndroidDriver] Using device: 192.168.137.204:5555
[ADB] Using 'adb.exe' from 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 start-server'
[debug] [ADB] Connected devices: [{"udid":"192.168.137.204:5555","state":"device"},{"udid":"192.168.137.58:5555","state":"device"}]
[AndroidDriver] Using device: 192.168.137.58:5555
[ADB] Using 'adb.exe' from 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 start-server'
[debug] [ADB] Setting device id to 192.168.137.204:5555
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell getprop ro.build.version.sdk'
[debug] [ADB] Setting device id to 192.168.137.58:5555
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 30
[ADB] Getting device platform version
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.sdk': 27
[debug] [ADB] Device API level: 27
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell dumpsys package io.appium.settings'
[debug] [ADB] Current device property 'ro.build.version.release': 11
[debug] [ADB] Device API level: 30
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Relaxing hidden api policy
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58\:5555 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] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.1.0' >= '5.1.0')
[debug] [ADB] There is no need to install/upgrade 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204\:5555 shell 'pgrep --help; echo $?''
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell dumpsys package io.appium.settings'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 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 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell appops set io.appium.settings android:mock_location allow'
[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.1.0' >= '5.1.0')
[debug] [ADB] There is no need to install/upgrade 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58\:5555 shell 'pgrep --help; echo $?''
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204\:5555 shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo __PASS__"'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell cat /data/local/tmp/mock_apps.json'
[debug] [Logcat] Starting logs capture with command: D:\\tiktok\\android_sdk\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 192.168.137.204\:5555 logcat -v threadtime
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Forwarding UiAutomator2 Server port 6790 to local port 8310
[debug] [ADB] Forwarding system: 8310 to device: 6790
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 forward tcp:8310 tcp:6790'
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell appops set io.appium.settings android:mock_location allow'
[debug] [ADB] Checking app cert for C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.12.2.apk
[debug] [ADB] Checking app cert for C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Using 'apksigner.jar' from 'D:\tiktok\android_sdk\android-sdk-windows\build-tools\29.0.3\lib\apksigner.jar'
[debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-11\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tiktok\\android_sdk\\android-sdk-windows\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\12624\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-11\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tiktok\\android_sdk\\android-sdk-windows\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\12624\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v5.12.2.apk
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58\:5555 shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo __PASS__"'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell cat /data/local/tmp/mock_apps.json'
[debug] [Logcat] Starting logs capture with command: D:\\tiktok\\android_sdk\\android-sdk-windows\\platform-tools\\adb.exe -P 5037 -s 192.168.137.58\:5555 logcat -v threadtime
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], 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'
[ADB] 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell pm path io.appium.uiautomator2.server.test'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Forwarding UiAutomator2 Server port 6790 to local port 8322
[debug] [ADB] Forwarding system: 8322 to device: 6790
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 forward tcp:8322 tcp:6790'
[debug] [ADB] Checking app cert for C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.12.2.apk
[debug] [ADB] Checking app cert for C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Using the previously cached signature entry for 'appium-uiautomator2-server-debug-androidTest.apk'
[debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell pm path io.appium.uiautomator2.server.test'
[ADB] Using 'apksigner.jar' from 'D:\tiktok\android_sdk\android-sdk-windows\build-tools\29.0.3\lib\apksigner.jar'
[debug] [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk-11\\bin\\java.exe' -Xmx1024M -Xss1m -jar D:\\tiktok\\android_sdk\\android-sdk-windows\\build-tools\\29.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\12624\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v5.12.2.apk
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], 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-v5.12.2.apk'
[ADB] 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.12.2.apk' is signed with the default certificate
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('5.12.2' >= '5.12.2')
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Server packages status: [{"wasSigned":true,"installState":"sameVersionInstalled","appPath":"C:\\Users\\12624\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v5.12.2.apk","appId":"io.appium.uiautomator2.server"},{"wasSigned":true,"installState":"sameVersionInstalled","appPath":"C:\\Users\\12624\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] Server packages are not going to be (re)installed
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Waiting up to 30000ms for services to be available
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell pm list instrumentation'
[debug] [ADB] apksigner stdout: Signer #1 certificate DN: [email protected], 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-v5.12.2.apk'
[ADB] 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.12.2.apk' is signed with the default certificate
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 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 ('5.12.2' >= '5.12.2')
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Server packages status: [{"wasSigned":true,"installState":"sameVersionInstalled","appPath":"C:\\Users\\12624\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v5.12.2.apk","appId":"io.appium.uiautomator2.server"},{"wasSigned":true,"installState":"sameVersionInstalled","appPath":"C:\\Users\\12624\\.appium\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Server packages are not going to be (re)installed
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Waiting up to 30000ms for services to be available
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell pm list instrumentation'
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[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 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[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 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] No app capability. Assuming it is already on the device
[debug] [ADB] Getting install status for com.android.settings
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell pm path com.android.settings'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] No app capability. Assuming it is already on the device
[debug] [ADB] Getting install status for com.android.settings
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell pm path com.android.settings'
[debug] [ADB] 'com.android.settings' is installed
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell am force-stop com.android.settings'
[debug] [ADB] 'com.android.settings' is installed
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell am force-stop com.android.settings'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell pm clear com.android.settings'
[debug] [AndroidDriver] Performed fast reset on the installed 'com.android.settings' application (stop and clear)
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Performing shallow cleanup of automation leftovers
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell pm clear com.android.settings'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] No obsolete sessions have been detected
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Starting UIAutomator2 server 5.12.2
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Using UIAutomator2 server from 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.12.2.apk' and test from 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] Creating ADB subprocess with args: ["-P","5037","-s","192.168.137.58:5555","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Matched '/status' to command name 'getStatus'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Proxying [GET /status] to [GET http://127.0.0.1:8322/status] with no body
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] The initialization of the instrumentation process took 31ms
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Matched '/session' to command name 'createSession'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Proxying [POST /session] to [POST http://127.0.0.1:8322/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","appActivity":".Settings","appPackage":"com.android.settings","automationName":"uiautomator2","udid":"192.168.137.58:5555","systemPort":8322},"platformName":"Android","appActivity":".Settings","appPackage":"com.android.settings","automationName":"uiautomator2","udid":"192.168.137.58:5555","systemPort":8322,"deviceName":"192.168.137.58:5555","deviceUDID":"192.168.137.58:5555"}],"alwaysMatch":{}}}
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Got response with status 200: {"sessionId":"f1ef9ce9-7e38-4392-ac84-eaab49caf768","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","appActivity":".Settings","appPackage":"com.android.settings","automationName":"uiautomator2","udid":"192.168.137.58:5555","systemPort":8322},"platformName":"Android","appActivity":".Settings","appPackage":"com.android.settings","automationName":"uiautomator2","udid":"192.168.137.58:5555","systemPort":8322,"deviceName":"192.168.137.58:5555","deviceUDID":"192.168.137.58:5555"}],"alwaysMatch":{}},"sessionId":"f1ef9ce9-7e38-4392-ac84-eaab49caf768"}}
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Determined the downstream protocol as 'W3C'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8322/session/f1ef9ce9-7e38-4392-ac84-eaab49caf768/appium/device/info] with no body
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Got response with status 200: {"sessionId":"f1ef9ce9-7e38-4392-ac84-eaab49caf768","value":{"androidId":"843ddf2fa0162773","apiVersion":"30","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":420,"locale":"zh_SG_#Hans","manufacturer":"Google","model":"Pixel 2","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":98000,"linkUpstreamBandwidthKbps":98000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_WIFI,TRANSPORT_VPN"},"detailedState":"CONNECTED","extraInfo":null,"isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":17,"typeName":"VPN"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":98000,"linkUpstreamBandwidthKbps":98000,"networkCapabilities":"NET_...
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Starting 'com.android.settings/.Settings and waiting for 'com.android.settings/.Settings'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell am start -W -n com.android.settings/.Settings -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [AndroidDriver] Performed fast reset on the installed 'com.android.settings' application (stop and clear)
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Performing shallow cleanup of automation leftovers
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] No obsolete sessions have been detected
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell am force-stop io.appium.uiautomator2.server.test'
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] Starting UIAutomator2 server 5.12.2
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] Using UIAutomator2 server from 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.12.2.apk' and test from 'C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] Creating ADB subprocess with args: ["-P","5037","-s","192.168.137.204:5555","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Matched '/status' to command name 'getStatus'
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Proxying [GET /status] to [GET http://127.0.0.1:8310/status] with no body
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] The initialization of the instrumentation process took 24ms
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Matched '/session' to command name 'createSession'
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Proxying [POST /session] to [POST http://127.0.0.1:8310/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","appActivity":".Settings","appPackage":"com.android.settings","automationName":"uiautomator2","udid":"192.168.137.204:5555","systemPort":8310},"platformName":"Android","appActivity":".Settings","appPackage":"com.android.settings","automationName":"uiautomator2","udid":"192.168.137.204:5555","systemPort":8310,"deviceName":"192.168.137.204:5555","deviceUDID":"192.168.137.204:5555"}],"alwaysMatch":{}}}
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Got response with status 200: {"sessionId":"96691dbf-ec7a-423b-ba58-091123d424de","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","appActivity":".Settings","appPackage":"com.android.settings","automationName":"uiautomator2","udid":"192.168.137.204:5555","systemPort":8310},"platformName":"Android","appActivity":".Settings","appPackage":"com.android.settings","automationName":"uiautomator2","udid":"192.168.137.204:5555","systemPort":8310,"deviceName":"192.168.137.204:5555","deviceUDID":"192.168.137.204:5555"}],"alwaysMatch":{}},"sessionId":"96691dbf-ec7a-423b-ba58-091123d424de"}}
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] Determined the downstream protocol as 'W3C'
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8310/session/96691dbf-ec7a-423b-ba58-091123d424de/appium/device/info] with no body
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Got response with status 200: {"sessionId":"96691dbf-ec7a-423b-ba58-091123d424de","value":{"androidId":"c06042cebe13dd8e","apiVersion":"27","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":420,"locale":"zh_SG_#Hans","manufacturer":"Google","model":"Pixel 2","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":0,"linkUpstreamBandwidthKbps":0,"networkCapabilities":"NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING","signalStrength":-2147483648,"transportTypes":"TRANSPORT_VPN"},"detailedState":"CONNECTED","extraInfo":null,"isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":17,"typeName":"VPN"},{"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_CAP...
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell dumpsys window'
[AndroidDriver] Screen already unlocked, doing nothing
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] Starting 'com.android.settings/.Settings and waiting for 'com.android.settings/.Settings'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell am start -W -n com.android.settings/.Settings -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8322/session/f1ef9ce9-7e38-4392-ac84-eaab49caf768/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] socket hang up
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Deleting UiAutomator2 session
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Deleting UiAutomator2 server session
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Matched '/' to command name 'deleteSession'
[debug] [AndroidUiautomator2Driver@2a36 (d9ca1b98)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8322/session/f1ef9ce9-7e38-4392-ac84-eaab49caf768] with no body
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] socket hang up
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] 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 the remote server. Original error: socket hang up
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 shell am force-stop com.android.settings'
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8322
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58:5555 forward --remove tcp:8322'
[AndroidUiautomator2Driver@2a36 (d9ca1b98)] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.58\:5555 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] [AppiumDriver@a740] Event 'newSessionStarted' logged at 1692203326606 (00:28:46 GMT+0800 (中国标准时间))
[debug] [AppiumDriver@a740] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] [AppiumDriver@a740] at UIA2Proxy.command (C:\Users\12624\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\jsonwp-proxy\proxy.js:355:13)
[debug] [AppiumDriver@a740] at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] [AppiumDriver@a740] at AndroidUiautomator2Driver.commands.getDevicePixelRatio (C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\lib\commands\viewport.js:14:10)
[debug] [AppiumDriver@a740] at AndroidUiautomator2Driver.fillDeviceDetails (C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\lib\driver.js:256:28)
[debug] [AppiumDriver@a740] at AndroidUiautomator2Driver.createSession (C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\lib\driver.js:242:7)
[debug] [AppiumDriver@a740] at AppiumDriver.createSession (C:\Users\12624\AppData\Roaming\npm\node_modules\appium\lib\appium.js:352:35)
[HTTP] <-- POST /session 500 4409 ms - 1209
[HTTP]
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8310/session/96691dbf-ec7a-423b-ba58-091123d424de/appium/device/pixel_ratio] with no body
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] socket hang up
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Deleting UiAutomator2 session
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Deleting UiAutomator2 server session
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Matched '/' to command name 'deleteSession'
[debug] [AndroidUiautomator2Driver@6299 (3f9c7dd4)] Proxying [DELETE /] to [DELETE http://127.0.0.1:8310/session/96691dbf-ec7a-423b-ba58-091123d424de] with no body
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] socket hang up
[AndroidUiautomator2Driver@6299 (3f9c7dd4)] 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 the remote server. Original error: socket hang up
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 shell am force-stop com.android.settings'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8310
[debug] [ADB] Running 'D:\tiktok\android_sdk\android-sdk-windows\platform-tools\adb.exe -P 5037 -s 192.168.137.204:5555 forward --remove tcp:8310'
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [AppiumDriver@a740] Event 'newSessionStarted' logged at 1692203326953 (00:28:46 GMT+0800 (中国标准时间))
[debug] [AppiumDriver@a740] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] [AppiumDriver@a740] at UIA2Proxy.command (C:\Users\12624\AppData\Roaming\npm\node_modules\appium\node_modules\@appium\base-driver\lib\jsonwp-proxy\proxy.js:355:13)
[debug] [AppiumDriver@a740] at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] [AppiumDriver@a740] at AndroidUiautomator2Driver.commands.getDevicePixelRatio (C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\lib\commands\viewport.js:14:10)
[debug] [AppiumDriver@a740] at AndroidUiautomator2Driver.fillDeviceDetails (C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\lib\driver.js:256:28)
[debug] [AppiumDriver@a740] at AndroidUiautomator2Driver.createSession (C:\Users\12624\.appium\node_modules\appium-uiautomator2-driver\lib\driver.js:242:7)
[debug] [AppiumDriver@a740] at AppiumDriver.createSession (C:\Users\12624\AppData\Roaming\npm\node_modules\appium\lib\appium.js:352:35)
[HTTP] <-- POST /session 500 4739 ms - 1209
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment