Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot launch app with error: Make sure it exists and is a launchable activity #856

Closed
didental opened this issue Jan 9, 2025 · 5 comments

Comments

@didental
Copy link

didental commented Jan 9, 2025

After UiAutomator2 updated to 3.9.7, the appium could not launch the app now.
I use appium docker image(lastest version) and just install uiautomator2 without version tag.

Here is the failing log

2025-01-08 03:00:32:713 [Appium] Welcome to Appium v2.11.4
2025-01-08 03:00:32:718 [Appium] Non-default server args:
2025-01-08 03:00:32:721 [Appium] { logTimestamp: true, relaxedSecurityEnabled: true }
2025-01-08 03:00:32:721 [Appium] The autodetected Appium home path: /root/.appium
2025-01-08 03:00:32:722 [Appium] Attempting to load driver uiautomator2...
2025-01-08 03:00:32:726 [Appium] Requiring driver at /root/.appium/node_modules/appium-uiautomator2-driver/build/index.js
2025-01-08 03:00:38:240 [Appium] AndroidUiautomator2Driver has been successfully loaded in 5.517s
2025-01-08 03:00:38:259 [Appium] Appium REST http interface listener started on http://0.0.0.0:4723
2025-01-08 03:00:38:261 [Appium] You can provide the following URLs in your client code to connect to this server:
	http://127.0.0.1:4723/ (only accessible from the same host)
	http://172.28.168.31:4723/
2025-01-08 03:00:38:261 [Appium] Available drivers:
2025-01-08 03:00:38:262 [Appium]   - [email protected] (automationName 'UiAutomator2')
2025-01-08 03:00:38:262 [Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
2025-01-08 03:00:38:511 [HTTP] --> HEAD /status {}
2025-01-08 03:00:38:513 [AppiumDriver@2e27] Calling AppiumDriver.getStatus() with args: []
2025-01-08 03:00:38:516 [AppiumDriver@2e27] Responding to client with driver.getStatus() result: {"ready":true,"message":"The server is ready to accept new connections","build":{"version":"2.11.4"}}
2025-01-08 03:00:38:526 [HTTP] <-- HEAD /status 200 9 ms - 111 
2025-01-08 03:00:44:711 [HTTP] Request idempotency key: 36605745-e37f-47d5-ad87-ac3e4388a382
2025-01-08 03:00:44:791 [HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:newCommandTimeout":300,"appium:options":{"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000}}}}
2025-01-08 03:00:44:792 [AppiumDriver@2e27] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:newCommandTimeout":300,"appium:options":{"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000}}}]
2025-01-08 03:00:44:794 [AppiumDriver@2e27] Event 'newSessionRequested' logged at 1736305244793 (12:00:44 GMT+0900 (Korean Standard Time))
2025-01-08 03:00:44:801 [BaseDriver] Found appium:options capability present; will promote items inside to caps
2025-01-08 03:00:44:810 [Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
2025-01-08 03:00:44:811 [Appium] The 'uiautomator2' driver was installed and matched caps.
2025-01-08 03:00:44:811 [Appium] Will require it at /root/.appium/node_modules/appium-uiautomator2-driver
2025-01-08 03:00:44:813 [Appium] Requiring driver at /root/.appium/node_modules/appium-uiautomator2-driver/build/index.js
2025-01-08 03:00:44:813 [AppiumDriver@2e27] Appium v2.11.4 creating new AndroidUiautomator2Driver (v3.9.7) session
2025-01-08 03:00:44:814 [AppiumDriver@2e27] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
2025-01-08 03:00:44:814 [AppiumDriver@2e27] Appium's BaseDriver version is 9.12.0
2025-01-08 03:00:44:814 [AppiumDriver@2e27] AndroidUiautomator2Driver's BaseDriver version is 9.12.0
2025-01-08 03:00:44:819 [AppiumDriver@2e27] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
2025-01-08 03:00:44:821 �[38;5;-106m[AndroidUiautomator2Driver@bc66] 
2025-01-08 03:00:44:821 �[38;5;-106m[AndroidUiautomator2Driver@bc66] Creating session with W3C capabilities: {
  "alwaysMatch": {
    "platformName": "Android",
    "appium:newCommandTimeout": 300,
    "appium:appPackage": "jp.naver.line.android",
    "appium:automationName": "UiAutomator2",
    "appium:udid": "stf.linecorp.com:7441",
    "appium:noReset": true,
    "appium:clearDeviceLogsOnStart": true,
    "appium:autoGrantPermissions": true,
    "appium:uiautomator2ServerInstallTimeout": 120000
  },
  "firstMatch": [
    {}
  ]
}
2025-01-08 03:00:44:830 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Session created with session id: a19a1a49-2b9d-4f96-860d-6d6e62c500f8
2025-01-08 03:00:44:844 [a19a1a49][ADB] Found 1 'build-tools' folders under '/opt/android' (newest first):
2025-01-08 03:00:44:845 [a19a1a49][ADB]     /opt/android/build-tools/34.0.0
2025-01-08 03:00:44:846 [a19a1a49][ADB] Using 'adb' from '/opt/android/platform-tools/adb'
2025-01-08 03:00:44:847 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 start-server'
2025-01-08 03:00:44:856 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Retrieving device list
2025-01-08 03:00:44:856 [a19a1a49][ADB] Trying to find connected Android devices
2025-01-08 03:00:44:857 [a19a1a49][ADB] Getting connected devices
2025-01-08 03:00:44:865 [a19a1a49][ADB] Connected devices: [{"udid":"stf.linecorp.com:7441","state":"device"}]
2025-01-08 03:00:44:866 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Using device: stf.linecorp.com:7441
2025-01-08 03:00:44:867 [a19a1a49][ADB] Using 'adb' from '/opt/android/platform-tools/adb'
2025-01-08 03:00:44:868 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 start-server'
2025-01-08 03:00:44:876 [a19a1a49][ADB] Setting device id to stf.linecorp.com:7441
2025-01-08 03:00:44:876 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Starting 'jp.naver.line.android' directly on the device
2025-01-08 03:00:44:878 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell getprop ro.build.version.sdk'
2025-01-08 03:00:44:951 [a19a1a49][ADB] Current device property 'ro.build.version.sdk': 34
2025-01-08 03:00:44:951 [a19a1a49][ADB] Getting device platform version
2025-01-08 03:00:44:952 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell getprop ro.build.version.release'
2025-01-08 03:00:45:019 [a19a1a49][ADB] Current device property 'ro.build.version.release': 14
2025-01-08 03:00:45:020 [a19a1a49][ADB] Device API level: 34
2025-01-08 03:00:45:020 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Relaxing hidden api policy
2025-01-08 03:00:45:021 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 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''
2025-01-08 03:00:45:026 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Parsing activity from the installed 'jp.naver.line.android' package manifest
2025-01-08 03:00:45:028 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Pushing settings apk to the device...
2025-01-08 03:00:45:029 [a19a1a49][ADB] Getting package info for 'io.appium.settings'
2025-01-08 03:00:45:029 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys package io.appium.settings'
2025-01-08 03:00:45:038 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell cmd package resolve-activity --brief jp.naver.line.android'
2025-01-08 03:00:45:135 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Resolved launch package -> activity: jp.naver.line.android -> jp.naver.line.android/.activity.SplashActivity
2025-01-08 03:00:45:135 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Resolved wait package -> activity: jp.naver.line.android -> jp.naver.line.android/.activity.SplashActivity
2025-01-08 03:00:45:253 [a19a1a49][ADB] Using 'aapt2' from '/opt/android/build-tools/34.0.0/aapt2'
2025-01-08 03:00:45:254 [a19a1a49][ADB] Reading package manifest: '/opt/android/build-tools/34.0.0/aapt2 dump badging /root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
2025-01-08 03:00:45:279 [a19a1a49][ADB] The installed 'io.appium.settings' package is older than '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk' (75 < 109 or '5.7.5' < '5.12.19')'
2025-01-08 03:00:45:279 [a19a1a49][ADB] Executing upgrade of '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
2025-01-08 03:00:45:281 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 help'
2025-01-08 03:00:45:288 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 features'
2025-01-08 03:00:45:311 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
2025-01-08 03:00:45:399 [a19a1a49][ADB] The count of applications in the cache: 10
2025-01-08 03:00:45:399 [a19a1a49][ADB] Caching the application at '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk' to '/data/local/tmp/appium_cache/01f8c445fb5669fcca19933feb532016bf70fc37.apk'
2025-01-08 03:00:45:400 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell mkdir -p /data/local/tmp/appium_cache'
2025-01-08 03:00:45:470 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 push /root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk /data/local/tmp/appium_cache/01f8c445fb5669fcca19933feb532016bf70fc37.apk'
2025-01-08 03:00:47:206 [a19a1a49][ADB] The upload of 'settings_apk-debug.apk' (2.70 MB) took 1806ms
2025-01-08 03:00:47:208 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell rm -f /data/local/tmp/appium_cache/cb7f61d71f800d4fae30519dc9d032292269201e.apk'
2025-01-08 03:00:47:286 [a19a1a49][ADB] Deleted 1 expired application cache entries
2025-01-08 03:00:47:286 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell pm install -r -g /data/local/tmp/appium_cache/01f8c445fb5669fcca19933feb532016bf70fc37.apk'
2025-01-08 03:00:48:324 [a19a1a49][ADB] The installation of 'settings_apk-debug.apk' took 1038ms
2025-01-08 03:00:48:324 [a19a1a49][ADB] Install command stdout: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Existing package io.appium.settings signatures do not match newer version; ignoring!]
2025-01-08 03:00:48:325 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys activity services io.appium.settings'
2025-01-08 03:00:48:429 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] io.appium.settings is already running. There is no need to reset its permissions.
2025-01-08 03:00:48:431 [a19a1a49][Logcat] Clearing logcat logs from device
2025-01-08 03:00:48:435 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell appops set io.appium.settings android:mock_location allow'
2025-01-08 03:00:48:554 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo __PASS__"'
2025-01-08 03:00:48:611 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell cat /data/local/tmp/mock_apps.json'
2025-01-08 03:00:48:778 [a19a1a49][Logcat] Starting logs capture with command: /opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 logcat -v threadtime
2025-01-08 03:00:48:878 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Forwarding UiAutomator2 Server port 6790 to local port 8200
2025-01-08 03:00:48:880 [a19a1a49][ADB] Forwarding system: 8200 to device: 6790
2025-01-08 03:00:48:880 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 forward tcp:8200 tcp:6790'
2025-01-08 03:00:48:892 [a19a1a49][ADB] Getting package info for 'io.appium.uiautomator2.server'
2025-01-08 03:00:48:893 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys package io.appium.uiautomator2.server'
2025-01-08 03:00:48:900 [a19a1a49][ADB] Getting install status for io.appium.uiautomator2.server.test
2025-01-08 03:00:48:900 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] No app capability. Assuming it is already on the device
2025-01-08 03:00:48:901 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell cmd package list packages'
2025-01-08 03:00:48:990 [a19a1a49][ADB] Reading package manifest: '/opt/android/build-tools/34.0.0/aapt2 dump badging /root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.9.apk'
2025-01-08 03:00:49:019 [a19a1a49][ADB] The installed 'io.appium.uiautomator2.server' package is older than '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.9.apk' (194 < 200 or '7.1.3' < '7.1.9')'
2025-01-08 03:00:49:042 [a19a1a49][ADB] 'io.appium.uiautomator2.server.test' is installed
2025-01-08 03:00:49:043 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Server packages status: [{"installState":"olderVersionInstalled","appPath":"/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.9.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
2025-01-08 03:00:49:043 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Server packages are going to be (re)installed
2025-01-08 03:00:49:044 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 version'
2025-01-08 03:00:49:066 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
2025-01-08 03:00:49:139 [a19a1a49][ADB] The count of applications in the cache: 10
2025-01-08 03:00:49:139 [a19a1a49][ADB] The application at '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is already cached to '/data/local/tmp/appium_cache/e27e95818a87c6088948f6d13aed928e9db1ecf7.apk'
2025-01-08 03:00:49:139 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell touch -am /data/local/tmp/appium_cache/e27e95818a87c6088948f6d13aed928e9db1ecf7.apk'
2025-01-08 03:00:49:144 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell pm install -r /data/local/tmp/appium_cache/e27e95818a87c6088948f6d13aed928e9db1ecf7.apk'
2025-01-08 03:00:49:150 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
2025-01-08 03:00:49:236 [a19a1a49][ADB] The count of applications in the cache: 10
2025-01-08 03:00:49:237 [a19a1a49][ADB] Caching the application at '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.9.apk' to '/data/local/tmp/appium_cache/9cc9de356dc28022ca6f880eb9cf8878f4165dba.apk'
2025-01-08 03:00:49:237 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell mkdir -p /data/local/tmp/appium_cache'
2025-01-08 03:00:49:314 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 push /root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.9.apk /data/local/tmp/appium_cache/9cc9de356dc28022ca6f880eb9cf8878f4165dba.apk'
2025-01-08 03:00:49:914 [a19a1a49][ADB] The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 770ms
2025-01-08 03:00:49:914 [a19a1a49][ADB] Install command stdout: Success
2025-01-08 03:00:56:640 [a19a1a49][ADB] The upload of 'appium-uiautomator2-server-v7.1.9.apk' (14.66 MB) took 7402ms
2025-01-08 03:00:56:640 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell rm -f /data/local/tmp/appium_cache/9092b1a5439533e3c5b379f498957cb80d1f9ae0.apk'
2025-01-08 03:00:56:716 [a19a1a49][ADB] Deleted 1 expired application cache entries
2025-01-08 03:00:56:716 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell pm install -r /data/local/tmp/appium_cache/9cc9de356dc28022ca6f880eb9cf8878f4165dba.apk'
2025-01-08 03:00:57:541 [a19a1a49][ADB] The installation of 'appium-uiautomator2-server-v7.1.9.apk' took 824ms
2025-01-08 03:00:57:541 [a19a1a49][ADB] Install command stdout: Success
2025-01-08 03:00:57:542 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Waiting up to 30000ms for services to be available
2025-01-08 03:00:57:542 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell pm list instrumentation'
2025-01-08 03:00:57:687 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
2025-01-08 03:00:57:690 [a19a1a49][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
2025-01-08 03:00:57:691 [a19a1a49][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",";"]]
2025-01-08 03:00:57:691 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
2025-01-08 03:00:57:855 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Performing shallow cleanup of automation leftovers
2025-01-08 03:00:58:059 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] No obsolete sessions have been detected (socket hang up)
2025-01-08 03:00:58:060 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell am force-stop io.appium.uiautomator2.server'
2025-01-08 03:00:58:065 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell am force-stop io.appium.uiautomator2.server.test'
2025-01-08 03:00:58:238 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Starting UIAutomator2 server 7.1.9
2025-01-08 03:00:58:239 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Using UIAutomator2 server from '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.9.apk' and test from '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
2025-01-08 03:00:58:239 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Waiting up to 30000ms for UiAutomator2 to be online...
2025-01-08 03:00:58:240 [a19a1a49][ADB] Creating ADB subprocess with args: ["-P","5037","-s","stf.linecorp.com:7441","shell","am","instrument","-w","-e","disableAnalytics","true","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
2025-01-08 03:00:58:249 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Matched '/status' to command name 'getStatus'
2025-01-08 03:00:58:251 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-08 03:00:58:355 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] socket hang up
2025-01-08 03:00:59:081 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] [Instrumentation] 
2025-01-08 03:00:59:358 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Matched '/status' to command name 'getStatus'
2025-01-08 03:00:59:358 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-08 03:00:59:405 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] socket hang up
2025-01-08 03:01:00:406 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Matched '/status' to command name 'getStatus'
2025-01-08 03:01:00:407 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-08 03:01:00:496 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
2025-01-08 03:01:00:496 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] The initialization of the instrumentation process took 2257ms
2025-01-08 03:01:00:497 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Matched '/session' to command name 'createSession'
2025-01-08 03:01:00:498 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000},"deviceName":"stf.linecorp.com:7441","deviceUDID":"stf.linecorp.com:7441","appActivity":"jp.naver.line.android/.activity.SplashActivity"}],"alwaysMatch":{}}}
2025-01-08 03:01:00:548 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Got response with status 200: {"sessionId":"59da4f4a-5159-4320-a09c-02c5a763fbf8","value":{"capabilities":{"firstMatch":[{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000},"deviceName":"stf.linecorp.com:7441","deviceUDID":"stf.linecorp.com:7441","appActivity":"jp.naver.line.android/.activity.SplashActivity"}],"alwaysMatch":{}},"sessionId":"59da4f4a-5159-4320-a09c-0...
2025-01-08 03:01:00:549 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Determined the downstream protocol as 'W3C'
2025-01-08 03:01:00:585 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/59da4f4a-5159-4320-a09c-02c5a763fbf8/appium/device/pixel_ratio] with no body
2025-01-08 03:01:00:589 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Matched '/appium/device/system_bars' to command name 'getSystemBars'
2025-01-08 03:01:00:590 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/59da4f4a-5159-4320-a09c-02c5a763fbf8/appium/device/system_bars] with no body
2025-01-08 03:01:00:592 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Matched '/window/current/size' to command name 'getWindowSize'
2025-01-08 03:01:00:592 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/59da4f4a-5159-4320-a09c-02c5a763fbf8/window/current/size] with no body
2025-01-08 03:01:00:600 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/59da4f4a-5159-4320-a09c-02c5a763fbf8/appium/device/info] with no body
2025-01-08 03:01:00:602 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys window'
2025-01-08 03:01:00:606 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys power'
2025-01-08 03:01:00:680 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Got response with status 200: {"sessionId":"59da4f4a-5159-4320-a09c-02c5a763fbf8","value":3}
2025-01-08 03:01:00:729 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Got response with status 200: {"sessionId":"59da4f4a-5159-4320-a09c-02c5a763fbf8","value":{"statusBar":80}}
2025-01-08 03:01:00:730 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Got response with status 200: {"sessionId":"59da4f4a-5159-4320-a09c-02c5a763fbf8","value":{"height":2400,"width":1080}}
2025-01-08 03:01:00:778 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Got response with status 200: {"sessionId":"59da4f4a-5159-4320-a09c-02c5a763fbf8","value":{"androidId":"eb1ed0dde5fe4972","apiVersion":"34","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_US","manufacturer":"samsung","model":"SM-G991N","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":38674,"linkUpstreamBandwidthKbps":27768,"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":-63,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2400","timeZone":"Asia/Seoul"}}
2025-01-08 03:01:02:292 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Screen already unlocked, doing nothing
2025-01-08 03:01:02:293 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Starting 'jp.naver.line.android/jp.naver.line.android/.activity.SplashActivity and waiting for 'jp.naver.line.android/jp.naver.line.android/.activity.SplashActivity'
2025-01-08 03:01:02:293 [a19a1a49][ADB] Getting IDs of all 'jp.naver.line.android' processes
2025-01-08 03:01:02:294 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell 'pgrep --help; echo $?''
2025-01-08 03:01:02:383 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell pgrep -f \(\[\[:blank:\]\]\|\^\)jp\.naver\.line\.android\(\[\[:blank:\]\]\|\$\)'
2025-01-08 03:01:02:519 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell am start-activity -W -n jp.naver.line.android/jp.naver.line.android/.activity.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
2025-01-08 03:01:02:903 [a19a1a49][ADB] We tried to start an activity that doesn't exist, retrying with '.jp.naver.line.android/.activity.SplashActivity' activity name
2025-01-08 03:01:02:903 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell am start-activity -W -n jp.naver.line.android/.jp.naver.line.android/.activity.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
2025-01-08 03:01:03:250 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Deleting UiAutomator2 session
2025-01-08 03:01:03:250 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Deleting UiAutomator2 server session
2025-01-08 03:01:03:252 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Matched '/' to command name 'deleteSession'
2025-01-08 03:01:03:252 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/59da4f4a-5159-4320-a09c-02c5a763fbf8] with no body
2025-01-08 03:01:03:291 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Got response with status 200: {"sessionId":"59da4f4a-5159-4320-a09c-02c5a763fbf8","value":null}
2025-01-08 03:01:03:293 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
2025-01-08 03:01:03:294 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] [Instrumentation] The process has exited with code null, signal SIGTERM
2025-01-08 03:01:03:296 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
2025-01-08 03:01:03:303 [a19a1a49][ADB] Removing forwarded port socket connection: 8200 
2025-01-08 03:01:03:303 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 forward --remove tcp:8200'
2025-01-08 03:01:03:313 [a19a1a49]�[38;5;-106m[AndroidUiautomator2Driver@bc66] Restoring hidden api policy to the device default configuration
2025-01-08 03:01:03:314 [a19a1a49][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
2025-01-08 03:01:03:457 [a19a1a49][Logcat] Stopping logcat capture
2025-01-08 03:01:03:460 [a19a1a49][AppiumDriver@2e27] Event 'newSessionStarted' logged at 1736305263460 (12:01:03 GMT+0900 (Korean Standard Time))
2025-01-08 03:01:03:479 [a19a1a49][AppiumDriver@2e27] Encountered internal error running command: Error: Cannot start the 'jp.naver.line.android' application. Consider checking the driver's troubleshooting documentation. Original error: Cannot start the 'jp.naver.line.android' application. Consider checking the driver's troubleshooting documentation. Original error: Activity name '.jp.naver.line.android/.activity.SplashActivity' used to start the app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity
    at ADB.startApp (/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-adb/lib/tools/apk-utils.js:226:11)
    at AndroidUiautomator2Driver.ensureAppStarts (/root/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:822:5)
    at AndroidUiautomator2Driver.performSessionPostExecSetup (/root/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:637:7)
    at AndroidUiautomator2Driver.startUiAutomator2Session (/root/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:694:5)
    at AndroidUiautomator2Driver.createSession (/root/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:407:22)
    at AppiumDriver.createSession (/usr/lib/node_modules/appium/lib/appium.js:731:35)
2025-01-08 03:01:03:515 [a19a1a49][HTTP] <-- POST /session 500 18721 ms - 1358 
2025-01-08 03:01:03:547 [Appium] Received SIGTERM - shutting down

When I use 3.9.0 version of UiAutomator2, then it works well.
Here is the log too.

2025-01-07 07:00:04:613 [Appium] Non-default server args:
2025-01-07 07:00:04:616 [Appium] { logTimestamp: true, relaxedSecurityEnabled: true }
2025-01-07 07:00:04:616 [Appium] The autodetected Appium home path: /root/.appium
2025-01-07 07:00:04:617 [Appium] Attempting to load driver uiautomator2...
2025-01-07 07:00:04:620 [Appium] Requiring driver at /root/.appium/node_modules/appium-uiautomator2-driver/build/index.js
2025-01-07 07:00:05:628 [Appium] AndroidUiautomator2Driver has been successfully loaded in 1.010s
2025-01-07 07:00:05:648 [Appium] Appium REST http interface listener started on http://0.0.0.0:4723
2025-01-07 07:00:05:650 [Appium] You can provide the following URLs in your client code to connect to this server:
	http://127.0.0.1:4723/ (only accessible from the same host)
	http://172.28.168.47:4723/
2025-01-07 07:00:05:650 [Appium] Available drivers:
2025-01-07 07:00:05:651 [Appium]   - [email protected] (automationName 'UiAutomator2')
2025-01-07 07:00:05:651 [Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
2025-01-07 07:00:05:664 [HTTP] --> HEAD /status {}
2025-01-07 07:00:05:666 [AppiumDriver@3b7e] Calling AppiumDriver.getStatus() with args: []
2025-01-07 07:00:05:669 [AppiumDriver@3b7e] Responding to client with driver.getStatus() result: {"ready":true,"message":"The server is ready to accept new connections","build":{"version":"2.11.4"}}
2025-01-07 07:00:05:675 [HTTP] <-- HEAD /status 200 9 ms - 111 
2025-01-07 07:00:10:320 [HTTP] Request idempotency key: 8bd1a988-4990-456e-bba6-9335219d4e43
2025-01-07 07:00:10:334 [HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:newCommandTimeout":300,"appium:options":{"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000}}}}
2025-01-07 07:00:10:335 [AppiumDriver@3b7e] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:newCommandTimeout":300,"appium:options":{"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000}}}]
2025-01-07 07:00:10:336 [AppiumDriver@3b7e] Event 'newSessionRequested' logged at 1736233210335 (16:00:10 GMT+0900 (Korean Standard Time))
2025-01-07 07:00:10:337 [BaseDriver] Found appium:options capability present; will promote items inside to caps
2025-01-07 07:00:10:341 [Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
2025-01-07 07:00:10:342 [Appium] The 'uiautomator2' driver was installed and matched caps.
2025-01-07 07:00:10:342 [Appium] Will require it at /root/.appium/node_modules/appium-uiautomator2-driver
2025-01-07 07:00:10:343 [Appium] Requiring driver at /root/.appium/node_modules/appium-uiautomator2-driver/build/index.js
2025-01-07 07:00:10:344 [AppiumDriver@3b7e] Appium v2.11.4 creating new AndroidUiautomator2Driver (v3.9.0) session
2025-01-07 07:00:10:344 [AppiumDriver@3b7e] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
2025-01-07 07:00:10:344 [AppiumDriver@3b7e] Appium's BaseDriver version is 9.12.0
2025-01-07 07:00:10:344 [AppiumDriver@3b7e] AndroidUiautomator2Driver's BaseDriver version is 9.12.0
2025-01-07 07:00:10:349 [AppiumDriver@3b7e] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
2025-01-07 07:00:10:351 �[38;5;-109m[AndroidUiautomator2Driver@8226] 
2025-01-07 07:00:10:351 �[38;5;-109m[AndroidUiautomator2Driver@8226] Creating session with W3C capabilities: {
  "alwaysMatch": {
    "platformName": "Android",
    "appium:newCommandTimeout": 300,
    "appium:appPackage": "jp.naver.line.android",
    "appium:automationName": "UiAutomator2",
    "appium:udid": "stf.linecorp.com:7441",
    "appium:noReset": true,
    "appium:clearDeviceLogsOnStart": true,
    "appium:autoGrantPermissions": true,
    "appium:uiautomator2ServerInstallTimeout": 120000
  },
  "firstMatch": [
    {}
  ]
}
2025-01-07 07:00:10:361 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Session created with session id: d0446276-c834-439c-b9f5-12a91776c940
2025-01-07 07:00:10:375 [d0446276][ADB] Found 1 'build-tools' folders under '/opt/android' (newest first):
2025-01-07 07:00:10:375 [d0446276][ADB]     /opt/android/build-tools/34.0.0
2025-01-07 07:00:10:376 [d0446276][ADB] Using 'adb' from '/opt/android/platform-tools/adb'
2025-01-07 07:00:10:377 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 start-server'
2025-01-07 07:00:10:385 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Retrieving device list
2025-01-07 07:00:10:386 [d0446276][ADB] Trying to find connected Android devices
2025-01-07 07:00:10:387 [d0446276][ADB] Getting connected devices
2025-01-07 07:00:10:395 [d0446276][ADB] Connected devices: [{"udid":"stf.linecorp.com:7441","state":"device"}]
2025-01-07 07:00:10:396 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Using device: stf.linecorp.com:7441
2025-01-07 07:00:10:398 [d0446276][ADB] Using 'adb' from '/opt/android/platform-tools/adb'
2025-01-07 07:00:10:398 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 start-server'
2025-01-07 07:00:10:405 [d0446276][ADB] Setting device id to stf.linecorp.com:7441
2025-01-07 07:00:10:406 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Starting 'jp.naver.line.android' directly on the device
2025-01-07 07:00:10:407 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell getprop ro.build.version.sdk'
2025-01-07 07:00:10:498 [d0446276][ADB] Current device property 'ro.build.version.sdk': 34
2025-01-07 07:00:10:498 [d0446276][ADB] Getting device platform version
2025-01-07 07:00:10:499 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell getprop ro.build.version.release'
2025-01-07 07:00:10:586 [d0446276][ADB] Current device property 'ro.build.version.release': 14
2025-01-07 07:00:10:587 [d0446276][ADB] Device API level: 34
2025-01-07 07:00:10:587 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Relaxing hidden api policy
2025-01-07 07:00:10:588 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 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''
2025-01-07 07:00:10:594 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] No app sent in, not parsing package/activity
2025-01-07 07:00:10:595 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Pushing settings apk to the device...
2025-01-07 07:00:10:597 [d0446276][ADB] Getting package info for 'io.appium.settings'
2025-01-07 07:00:10:597 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys package io.appium.settings'
2025-01-07 07:00:10:789 [d0446276][ADB] Using 'aapt2' from '/opt/android/build-tools/34.0.0/aapt2'
2025-01-07 07:00:10:790 [d0446276][ADB] Reading package manifest: '/opt/android/build-tools/34.0.0/aapt2 dump badging /root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
2025-01-07 07:00:10:808 [d0446276][ADB] The installed 'io.appium.settings' package is older than '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk' (75 < 107 or '5.7.5' < '5.12.17')'
2025-01-07 07:00:10:808 [d0446276][ADB] Executing upgrade of '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
2025-01-07 07:00:10:809 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 help'
2025-01-07 07:00:10:816 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 features'
2025-01-07 07:00:10:840 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_''
2025-01-07 07:00:10:975 [d0446276][ADB] The count of applications in the cache: 10
2025-01-07 07:00:10:976 [d0446276][ADB] The application at '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk' is already cached to '/data/local/tmp/appium_cache/421f98ac28c5c6aa1c545389e074fdde3d310c12.apk'
2025-01-07 07:00:10:977 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell touch -am /data/local/tmp/appium_cache/421f98ac28c5c6aa1c545389e074fdde3d310c12.apk'
2025-01-07 07:00:10:984 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell pm install -r -g /data/local/tmp/appium_cache/421f98ac28c5c6aa1c545389e074fdde3d310c12.apk'
2025-01-07 07:00:12:203 [d0446276][ADB] The installation of 'settings_apk-debug.apk' took 1219ms
2025-01-07 07:00:12:203 [d0446276][ADB] Install command stdout: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Existing package io.appium.settings signatures do not match newer version; ignoring!]
2025-01-07 07:00:12:204 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys activity services io.appium.settings'
2025-01-07 07:00:12:315 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] io.appium.settings is already running. There is no need to reset its permissions.
2025-01-07 07:00:12:316 [d0446276][Logcat] Clearing logcat logs from device
2025-01-07 07:00:12:321 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell appops set io.appium.settings android:mock_location allow'
2025-01-07 07:00:12:454 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo __PASS__"'
2025-01-07 07:00:12:542 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell cat /data/local/tmp/mock_apps.json'
2025-01-07 07:00:12:619 [d0446276][Logcat] Starting logs capture with command: /opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 logcat -v threadtime
2025-01-07 07:00:12:739 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Forwarding UiAutomator2 Server port 6790 to local port 8200
2025-01-07 07:00:12:740 [d0446276][ADB] Forwarding system: 8200 to device: 6790
2025-01-07 07:00:12:741 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 forward tcp:8200 tcp:6790'
2025-01-07 07:00:12:750 [d0446276][ADB] Getting package info for 'io.appium.uiautomator2.server'
2025-01-07 07:00:12:750 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys package io.appium.uiautomator2.server'
2025-01-07 07:00:12:755 [d0446276][ADB] Getting install status for io.appium.uiautomator2.server.test
2025-01-07 07:00:12:756 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] No app capability. Assuming it is already on the device
2025-01-07 07:00:12:756 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell cmd package list packages'
2025-01-07 07:00:12:874 [d0446276][ADB] Reading package manifest: '/opt/android/build-tools/34.0.0/aapt2 dump badging /root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.3.apk'
2025-01-07 07:00:12:894 [d0446276][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.1.3' >= '7.1.3')
2025-01-07 07:00:12:921 [d0446276][ADB] 'io.appium.uiautomator2.server.test' is installed
2025-01-07 07:00:12:922 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Server packages status: [{"installState":"sameVersionInstalled","appPath":"/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.3.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
2025-01-07 07:00:12:922 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Server packages are not going to be (re)installed
2025-01-07 07:00:12:923 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Waiting up to 30000ms for services to be available
2025-01-07 07:00:12:923 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell pm list instrumentation'
2025-01-07 07:00:13:046 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
2025-01-07 07:00:13:049 [d0446276][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
2025-01-07 07:00:13:049 [d0446276][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",";"]]
2025-01-07 07:00:13:050 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
2025-01-07 07:00:13:228 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Performing shallow cleanup of automation leftovers
2025-01-07 07:00:13:395 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] No obsolete sessions have been detected (socket hang up)
2025-01-07 07:00:13:396 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell am force-stop io.appium.uiautomator2.server'
2025-01-07 07:00:13:400 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell am force-stop io.appium.uiautomator2.server.test'
2025-01-07 07:00:13:629 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Starting UIAutomator2 server 7.1.3
2025-01-07 07:00:13:630 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Using UIAutomator2 server from '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.3.apk' and test from '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
2025-01-07 07:00:13:630 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Waiting up to 30000ms for UiAutomator2 to be online...
2025-01-07 07:00:13:631 [d0446276][ADB] Creating ADB subprocess with args: ["-P","5037","-s","stf.linecorp.com:7441","shell","am","instrument","-w","-e","disableAnalytics","true","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
2025-01-07 07:00:13:642 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Matched '/status' to command name 'getStatus'
2025-01-07 07:00:13:643 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-07 07:00:13:766 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] socket hang up
2025-01-07 07:00:14:497 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] [Instrumentation] 
2025-01-07 07:00:14:769 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Matched '/status' to command name 'getStatus'
2025-01-07 07:00:14:770 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-07 07:00:14:845 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] socket hang up
2025-01-07 07:00:15:846 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Matched '/status' to command name 'getStatus'
2025-01-07 07:00:15:847 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-07 07:00:15:988 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
2025-01-07 07:00:15:989 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] The initialization of the instrumentation process took 2359ms
2025-01-07 07:00:15:991 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Matched '/session' to command name 'createSession'
2025-01-07 07:00:15:991 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000},"deviceName":"stf.linecorp.com:7441","deviceUDID":"stf.linecorp.com:7441"}],"alwaysMatch":{}}}
2025-01-07 07:00:16:094 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Got response with status 200: {"sessionId":"72389201-0952-4b0a-8cea-9a6009044ee3","value":{"capabilities":{"firstMatch":[{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000},"deviceName":"stf.linecorp.com:7441","deviceUDID":"stf.linecorp.com:7441"}],"alwaysMatch":{}},"sessionId":"72389201-0952-4b0a-8cea-9a6009044ee3"}}
2025-01-07 07:00:16:095 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Determined the downstream protocol as 'W3C'
2025-01-07 07:00:16:131 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/72389201-0952-4b0a-8cea-9a6009044ee3/appium/device/pixel_ratio] with no body
2025-01-07 07:00:16:134 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Matched '/appium/device/system_bars' to command name 'getSystemBars'
2025-01-07 07:00:16:135 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/72389201-0952-4b0a-8cea-9a6009044ee3/appium/device/system_bars] with no body
2025-01-07 07:00:16:137 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Matched '/window/current/size' to command name 'getWindowSize'
2025-01-07 07:00:16:137 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/72389201-0952-4b0a-8cea-9a6009044ee3/window/current/size] with no body
2025-01-07 07:00:16:145 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/72389201-0952-4b0a-8cea-9a6009044ee3/appium/device/info] with no body
2025-01-07 07:00:16:147 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys window'
2025-01-07 07:00:16:152 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell dumpsys power'
2025-01-07 07:00:16:244 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Got response with status 200: {"sessionId":"72389201-0952-4b0a-8cea-9a6009044ee3","value":3}
2025-01-07 07:00:16:289 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Got response with status 200: {"sessionId":"72389201-0952-4b0a-8cea-9a6009044ee3","value":{"height":2400,"width":1080}}
2025-01-07 07:00:16:327 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Got response with status 200: {"sessionId":"72389201-0952-4b0a-8cea-9a6009044ee3","value":{"statusBar":80}}
2025-01-07 07:00:16:329 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Got response with status 200: {"sessionId":"72389201-0952-4b0a-8cea-9a6009044ee3","value":{"androidId":"eb1ed0dde5fe4972","apiVersion":"34","bluetooth":{"state":"OFF"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"en_US","manufacturer":"samsung","model":"SM-G991N","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":42524,"linkUpstreamBandwidthKbps":33797,"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":-54,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2400","timeZone":"Asia/Seoul"}}
2025-01-07 07:00:18:798 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Screen already unlocked, doing nothing
2025-01-07 07:00:18:799 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Starting 'jp.naver.line.android/undefined and waiting for 'jp.naver.line.android/undefined'
2025-01-07 07:00:18:800 [d0446276][ADB] Getting IDs of all 'jp.naver.line.android' processes
2025-01-07 07:00:18:800 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7441 shell 'pgrep --help; echo $?''
2025-01-07 07:00:18:890 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell pgrep -f \(\[\[:blank:\]\]\|\^\)jp\.naver\.line\.android\(\[\[:blank:\]\]\|\$\)'
2025-01-07 07:00:19:021 [d0446276][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7441 shell am start-activity -W -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
2025-01-07 07:00:19:140 [d0446276][AppiumDriver@3b7e] New AndroidUiautomator2Driver session created successfully, session d0446276-c834-439c-b9f5-12a91776c940 added to master session list
2025-01-07 07:00:19:141 [d0446276][AppiumDriver@3b7e] Event 'newSessionStarted' logged at 1736233219141 (16:00:19 GMT+0900 (Korean Standard Time))
2025-01-07 07:00:19:141 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Cached the protocol value 'W3C' for the new session d0446276-c834-439c-b9f5-12a91776c940
2025-01-07 07:00:19:142 [d0446276]�[38;5;-109m[AndroidUiautomator2Driver@8226] Responding to client with driver.createSession() result: {"capabilities":{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7441","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000},"deviceName":"stf.linecorp.com:7441","deviceUDID":"stf.linecorp.com:7441","pixelRatio":"3","statBarHeight":80,"viewportRect":{"left":0,"top":80,"width":1080,"height":2320},"deviceApiLevel":34,"platformVersion":"14","deviceManufacturer":"samsung","deviceModel":"SM-G991N"...
2025-01-07 07:00:19:143 [d0446276][HTTP] <-- POST /session 200 8809 ms - 1141 
@mykola-mokhnach
Copy link
Contributor

thanks for the report. It should be addressed by appium/appium-adb#787

@mykola-mokhnach
Copy link
Contributor

mykola-mokhnach commented Jan 9, 2025

The fix has been merged and published

@didental
Copy link
Author

Thank you. I've confirmed that the latest version (3.9.8) is working without the issue.

@didental
Copy link
Author

I don't know why but it's happening again.
The first time I tried to check if this was happening, it was not happening.
So I closed this issue, however, I got same issue in the same environment.
Could you look into this issue again?

2025-01-10 01:00:05:834 [Appium] Welcome to Appium v2.11.4
2025-01-10 01:00:05:840 [Appium] Non-default server args:
2025-01-10 01:00:05:844 [Appium] { logTimestamp: true, relaxedSecurityEnabled: true }
2025-01-10 01:00:05:844 [Appium] The autodetected Appium home path: /root/.appium
2025-01-10 01:00:05:846 [Appium] Attempting to load driver uiautomator2...
2025-01-10 01:00:05:853 [Appium] Requiring driver at /root/.appium/node_modules/appium-uiautomator2-driver/build/index.js
2025-01-10 01:00:06:821 [Appium] AndroidUiautomator2Driver has been successfully loaded in 0.974s
2025-01-10 01:00:06:841 [Appium] Appium REST http interface listener started on http://0.0.0.0:4723
2025-01-10 01:00:06:842 [Appium] You can provide the following URLs in your client code to connect to this server:
	http://127.0.0.1:4723/ (only accessible from the same host)
	http://172.25.168.137:4723/
2025-01-10 01:00:06:842 [Appium] Available drivers:
2025-01-10 01:00:06:843 [Appium]   - [email protected] (automationName 'UiAutomator2')
2025-01-10 01:00:06:844 [Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
2025-01-10 01:00:07:117 [HTTP] --> HEAD /status {}
2025-01-10 01:00:07:119 [AppiumDriver@d8dd] Calling AppiumDriver.getStatus() with args: []
2025-01-10 01:00:07:121 [AppiumDriver@d8dd] Responding to client with driver.getStatus() result: {"ready":true,"message":"The server is ready to accept new connections","build":{"version":"2.11.4"}}
2025-01-10 01:00:07:130 [HTTP] <-- HEAD /status 200 9 ms - 111 
2025-01-10 01:00:11:831 [HTTP] Request idempotency key: aeeae381-42c0-4610-8e06-d6bf5c1521bf
2025-01-10 01:00:11:845 [HTTP] --> POST /session {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:newCommandTimeout":300,"appium:options":{"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7409","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000}}}}
2025-01-10 01:00:11:846 [AppiumDriver@d8dd] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"platformName":"Android","appium:newCommandTimeout":300,"appium:options":{"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7409","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000}}}]
2025-01-10 01:00:11:847 [AppiumDriver@d8dd] Event 'newSessionRequested' logged at 1736470811846 (10:00:11 GMT+0900 (Korean Standard Time))
2025-01-10 01:00:11:850 [BaseDriver] Found appium:options capability present; will promote items inside to caps
2025-01-10 01:00:11:854 [Appium] Attempting to find matching driver for automationName 'UiAutomator2' and platformName 'Android'
2025-01-10 01:00:11:855 [Appium] The 'uiautomator2' driver was installed and matched caps.
2025-01-10 01:00:11:855 [Appium] Will require it at /root/.appium/node_modules/appium-uiautomator2-driver
2025-01-10 01:00:11:857 [Appium] Requiring driver at /root/.appium/node_modules/appium-uiautomator2-driver/build/index.js
2025-01-10 01:00:11:858 [AppiumDriver@d8dd] Appium v2.11.4 creating new AndroidUiautomator2Driver (v3.9.8) session
2025-01-10 01:00:11:858 [AppiumDriver@d8dd] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver
2025-01-10 01:00:11:858 [AppiumDriver@d8dd] Appium's BaseDriver version is 9.12.0
2025-01-10 01:00:11:858 [AppiumDriver@d8dd] AndroidUiautomator2Driver's BaseDriver version is 9.12.0
2025-01-10 01:00:11:863 [AppiumDriver@d8dd] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
2025-01-10 01:00:11:865 �[38;5;-98m[AndroidUiautomator2Driver@8009] 
2025-01-10 01:00:11:865 �[38;5;-98m[AndroidUiautomator2Driver@8009] Creating session with W3C capabilities: {
  "alwaysMatch": {
    "platformName": "Android",
    "appium:newCommandTimeout": 300,
    "appium:appPackage": "jp.naver.line.android",
    "appium:automationName": "UiAutomator2",
    "appium:udid": "stf.linecorp.com:7409",
    "appium:noReset": true,
    "appium:clearDeviceLogsOnStart": true,
    "appium:autoGrantPermissions": true,
    "appium:uiautomator2ServerInstallTimeout": 120000
  },
  "firstMatch": [
    {}
  ]
}
2025-01-10 01:00:11:874 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Session created with session id: bd848ab2-c4f6-4106-8176-1f63d064aa27
2025-01-10 01:00:11:889 [bd848ab2][ADB] Found 1 'build-tools' folders under '/opt/android' (newest first):
2025-01-10 01:00:11:890 [bd848ab2][ADB]     /opt/android/build-tools/34.0.0
2025-01-10 01:00:11:891 [bd848ab2][ADB] Using 'adb' from '/opt/android/platform-tools/adb'
2025-01-10 01:00:11:892 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 start-server'
2025-01-10 01:00:11:900 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Retrieving device list
2025-01-10 01:00:11:901 [bd848ab2][ADB] Trying to find connected Android devices
2025-01-10 01:00:11:902 [bd848ab2][ADB] Getting connected devices
2025-01-10 01:00:11:912 [bd848ab2][ADB] Connected devices: [{"udid":"stf.linecorp.com:7409","state":"device"}]
2025-01-10 01:00:11:913 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Using device: stf.linecorp.com:7409
2025-01-10 01:00:11:914 [bd848ab2][ADB] Using 'adb' from '/opt/android/platform-tools/adb'
2025-01-10 01:00:11:914 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 start-server'
2025-01-10 01:00:11:923 [bd848ab2][ADB] Setting device id to stf.linecorp.com:7409
2025-01-10 01:00:11:924 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Starting 'jp.naver.line.android' directly on the device
2025-01-10 01:00:11:925 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell getprop ro.build.version.sdk'
2025-01-10 01:00:12:030 [bd848ab2][ADB] Current device property 'ro.build.version.sdk': 34
2025-01-10 01:00:12:030 [bd848ab2][ADB] Getting device platform version
2025-01-10 01:00:12:031 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell getprop ro.build.version.release'
2025-01-10 01:00:12:132 [bd848ab2][ADB] Current device property 'ro.build.version.release': 14
2025-01-10 01:00:12:133 [bd848ab2][ADB] Device API level: 34
2025-01-10 01:00:12:133 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Relaxing hidden api policy
2025-01-10 01:00:12:134 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7409 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''
2025-01-10 01:00:12:138 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Parsing activity from the installed 'jp.naver.line.android' package manifest
2025-01-10 01:00:12:140 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Pushing settings apk to the device...
2025-01-10 01:00:12:141 [bd848ab2][ADB] Getting package info for 'io.appium.settings'
2025-01-10 01:00:12:141 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys package io.appium.settings'
2025-01-10 01:00:12:146 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell cmd package resolve-activity --brief jp.naver.line.android'
2025-01-10 01:00:12:296 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Resolved launch package -> activity: jp.naver.line.android -> jp.naver.line.android/.activity.SplashActivity
2025-01-10 01:00:12:297 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Resolved wait package -> activity: jp.naver.line.android -> jp.naver.line.android/.activity.SplashActivity
2025-01-10 01:00:12:370 [bd848ab2][ADB] Using 'aapt2' from '/opt/android/build-tools/34.0.0/aapt2'
2025-01-10 01:00:12:371 [bd848ab2][ADB] Reading package manifest: '/opt/android/build-tools/34.0.0/aapt2 dump badging /root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
2025-01-10 01:00:12:397 [bd848ab2][ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('5.12.20' >= '5.12.20')
2025-01-10 01:00:12:398 [bd848ab2][ADB] There is no need to install/upgrade '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
2025-01-10 01:00:12:399 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys activity services io.appium.settings'
2025-01-10 01:00:12:507 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] io.appium.settings is already running. There is no need to reset its permissions.
2025-01-10 01:00:12:509 [bd848ab2][Logcat] Clearing logcat logs from device
2025-01-10 01:00:12:514 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell appops set io.appium.settings android:mock_location allow'
2025-01-10 01:00:12:632 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7409 shell "[ -e '/data/local/tmp/mock_apps.json' ] && echo __PASS__"'
2025-01-10 01:00:12:678 [bd848ab2][Logcat] Starting logs capture with command: /opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7409 logcat -v threadtime
2025-01-10 01:00:12:718 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell cat /data/local/tmp/mock_apps.json'
2025-01-10 01:00:12:833 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Forwarding UiAutomator2 Server port 6790 to local port 8200
2025-01-10 01:00:12:834 [bd848ab2][ADB] Forwarding system: 8200 to device: 6790
2025-01-10 01:00:12:835 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 forward tcp:8200 tcp:6790'
2025-01-10 01:00:12:845 [bd848ab2][ADB] Getting package info for 'io.appium.uiautomator2.server'
2025-01-10 01:00:12:845 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys package io.appium.uiautomator2.server'
2025-01-10 01:00:12:851 [bd848ab2][ADB] Getting install status for io.appium.uiautomator2.server.test
2025-01-10 01:00:12:853 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] No app capability. Assuming it is already on the device
2025-01-10 01:00:12:863 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell cmd package list packages'
2025-01-10 01:00:12:978 [bd848ab2][ADB] Reading package manifest: '/opt/android/build-tools/34.0.0/aapt2 dump badging /root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.11.apk'
2025-01-10 01:00:12:998 [bd848ab2][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.1.11' >= '7.1.11')
2025-01-10 01:00:13:025 [bd848ab2][ADB] 'io.appium.uiautomator2.server.test' is installed
2025-01-10 01:00:13:026 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Server packages status: [{"installState":"sameVersionInstalled","appPath":"/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.11.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
2025-01-10 01:00:13:026 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Server packages are not going to be (re)installed
2025-01-10 01:00:13:027 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Waiting up to 30000ms for services to be available
2025-01-10 01:00:13:027 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell pm list instrumentation'
2025-01-10 01:00:13:142 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
2025-01-10 01:00:13:146 [bd848ab2][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
2025-01-10 01:00:13:147 [bd848ab2][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",";"]]
2025-01-10 01:00:13:147 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
2025-01-10 01:00:13:315 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Performing shallow cleanup of automation leftovers
2025-01-10 01:00:13:513 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] No obsolete sessions have been detected (socket hang up)
2025-01-10 01:00:13:514 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell am force-stop io.appium.uiautomator2.server'
2025-01-10 01:00:13:518 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell am force-stop io.appium.uiautomator2.server.test'
2025-01-10 01:00:13:746 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Starting UIAutomator2 server 7.1.11
2025-01-10 01:00:13:746 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Using UIAutomator2 server from '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v7.1.11.apk' and test from '/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
2025-01-10 01:00:13:746 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Waiting up to 30000ms for UiAutomator2 to be online...
2025-01-10 01:00:13:747 [bd848ab2][ADB] Creating ADB subprocess with args: ["-P","5037","-s","stf.linecorp.com:7409","shell","am","instrument","-w","-e","disableAnalytics","true","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
2025-01-10 01:00:13:754 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Matched '/status' to command name 'getStatus'
2025-01-10 01:00:13:756 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-10 01:00:13:862 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] socket hang up
2025-01-10 01:00:14:484 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] [Instrumentation] 
2025-01-10 01:00:14:864 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Matched '/status' to command name 'getStatus'
2025-01-10 01:00:14:865 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-10 01:00:14:930 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] socket hang up
2025-01-10 01:00:15:932 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Matched '/status' to command name 'getStatus'
2025-01-10 01:00:15:933 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [GET /status] to [GET http://127.0.0.1:8200/status] with no body
2025-01-10 01:00:16:070 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
2025-01-10 01:00:16:071 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] The initialization of the instrumentation process took 2324ms
2025-01-10 01:00:16:072 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Matched '/session' to command name 'createSession'
2025-01-10 01:00:16:072 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [POST /session] to [POST http://127.0.0.1:8200/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7409","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7409","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000},"deviceName":"stf.linecorp.com:7409","deviceUDID":"stf.linecorp.com:7409","appActivity":"jp.naver.line.android/.activity.SplashActivity"}],"alwaysMatch":{}}}
2025-01-10 01:00:16:152 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Got response with status 200: {"sessionId":"f6f878ee-0eb4-4295-ac3e-080cab11719a","value":{"capabilities":{"firstMatch":[{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7409","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","newCommandTimeout":300,"appPackage":"jp.naver.line.android","automationName":"UiAutomator2","udid":"stf.linecorp.com:7409","noReset":true,"clearDeviceLogsOnStart":true,"autoGrantPermissions":true,"uiautomator2ServerInstallTimeout":120000},"deviceName":"stf.linecorp.com:7409","deviceUDID":"stf.linecorp.com:7409","appActivity":"jp.naver.line.android/.activity.SplashActivity"}],"alwaysMatch":{}},"sessionId":"f6f878ee-0eb4-4295-ac3e-0...
2025-01-10 01:00:16:153 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Determined the downstream protocol as 'W3C'
2025-01-10 01:00:16:198 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/session/f6f878ee-0eb4-4295-ac3e-080cab11719a/appium/device/pixel_ratio] with no body
2025-01-10 01:00:16:204 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Matched '/appium/device/system_bars' to command name 'getSystemBars'
2025-01-10 01:00:16:205 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/session/f6f878ee-0eb4-4295-ac3e-080cab11719a/appium/device/system_bars] with no body
2025-01-10 01:00:16:207 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Matched '/window/current/size' to command name 'getWindowSize'
2025-01-10 01:00:16:208 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/session/f6f878ee-0eb4-4295-ac3e-080cab11719a/window/current/size] with no body
2025-01-10 01:00:16:220 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/session/f6f878ee-0eb4-4295-ac3e-080cab11719a/appium/device/info] with no body
2025-01-10 01:00:16:223 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window'
2025-01-10 01:00:16:228 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys power'
2025-01-10 01:00:16:310 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Got response with status 200: {"sessionId":"f6f878ee-0eb4-4295-ac3e-080cab11719a","value":3}
2025-01-10 01:00:16:428 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Got response with status 200: {"sessionId":"f6f878ee-0eb4-4295-ac3e-080cab11719a","value":{"height":2340,"width":1080}}
2025-01-10 01:00:16:429 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Got response with status 200: {"sessionId":"f6f878ee-0eb4-4295-ac3e-080cab11719a","value":{"statusBar":81}}
2025-01-10 01:00:16:440 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Got response with status 200: {"sessionId":"f6f878ee-0eb4-4295-ac3e-080cab11719a","value":{"androidId":"a5d4c9e74e962bb6","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"samsung","carrierName":"","displayDensity":480,"locale":"ko_KR","manufacturer":"samsung","model":"SM-S901N","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":32608,"linkUpstreamBandwidthKbps":12000,"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":-65,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":-1,"subtypeName":"","type":1,"typeName":"WIFI"}],"platformVersion":"14","realDisplaySize":"1080x2340","timeZone":"Asia/Seoul"}}
2025-01-10 01:00:16:545 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Screen already unlocked, doing nothing
2025-01-10 01:00:16:546 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Starting 'jp.naver.line.android/jp.naver.line.android/.activity.SplashActivity' and waiting for 'jp.naver.line.android/jp.naver.line.android/.activity.SplashActivity'
2025-01-10 01:00:16:547 [bd848ab2][ADB] Getting IDs of all 'jp.naver.line.android' processes
2025-01-10 01:00:16:547 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7409 shell 'pgrep --help; echo $?''
2025-01-10 01:00:16:628 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell pgrep -f \(\[\[:blank:\]\]\|\^\)jp\.naver\.line\.android\(:\[a-zA-Z0-9_-\]\+\)\?\(\[\[:blank:\]\]\|\$\)'
2025-01-10 01:00:16:742 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell am start-activity -W -n jp.naver.line.android/.activity.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
2025-01-10 01:00:18:604 [bd848ab2][ADB] Waiting up to 20000ms for activity matching pkg: 'jp.naver.line.android' and activity: 'jp.naver.line.android/.activity.SplashActivity' to be focused
2025-01-10 01:00:18:605 [bd848ab2][ADB] Possible activities, to be checked: 'jp.naver.line.android/.activity.SplashActivity', 'jp.naver.line.android.jp.naver.line.android/.activity.SplashActivity'
2025-01-10 01:00:18:605 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:18:606 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:18:744 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'jp.naver.line.android.activity.SplashActivity'
2025-01-10 01:00:18:744 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:19:246 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:19:246 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:19:389 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:19:389 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:19:890 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:19:890 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:20:058 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:20:059 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:20:560 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:20:560 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:20:686 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:20:687 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:21:188 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:21:188 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:21:316 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:21:316 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:21:817 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:21:818 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:21:947 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:21:948 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:22:449 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:22:449 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:22:587 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:22:587 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:23:088 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:23:088 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:23:234 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:23:235 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:23:736 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:23:737 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:23:871 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:23:871 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:24:372 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:24:373 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:24:519 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:24:520 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:25:021 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:25:022 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:25:167 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:25:168 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:25:669 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:25:669 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:25:799 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:25:799 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:26:301 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:26:302 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:26:436 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:26:436 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:26:937 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:26:938 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:27:075 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:27:075 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:27:576 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:27:576 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:27:709 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:27:710 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:28:210 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:28:211 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:28:344 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:28:344 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:28:845 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:28:846 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:28:978 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:28:978 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:29:478 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:29:479 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:29:622 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:29:622 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:30:123 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:30:123 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:30:254 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:30:254 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:30:757 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:30:757 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:30:893 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:30:893 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:31:394 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:31:394 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:31:544 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:31:544 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:32:045 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:32:045 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:32:189 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:32:189 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:32:691 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:32:692 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:32:840 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:32:841 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:33:342 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:33:343 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:33:489 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:33:489 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:33:990 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:33:991 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:34:129 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:34:130 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:34:631 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:34:632 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:34:771 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:34:772 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:35:273 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:35:273 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:35:418 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:35:419 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:35:920 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:35:920 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:36:065 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:36:066 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:36:567 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:36:567 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:36:716 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:36:716 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:37:217 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:37:217 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:37:359 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:37:360 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:37:861 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:37:861 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:38:004 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:38:005 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:38:506 [bd848ab2][ADB] Getting focused package and activity
2025-01-10 01:00:38:507 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys window displays'
2025-01-10 01:00:38:678 [bd848ab2][ADB] Found package: 'jp.naver.line.android' and fully qualified activity name : 'com.linecorp.registration.ui.RegistrationActivity'
2025-01-10 01:00:38:678 [bd848ab2][ADB] Incorrect package and activity. Retrying.
2025-01-10 01:00:38:679 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Deleting UiAutomator2 session
2025-01-10 01:00:38:680 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Deleting UiAutomator2 server session
2025-01-10 01:00:38:681 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Matched '/' to command name 'deleteSession'
2025-01-10 01:00:38:682 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/session/f6f878ee-0eb4-4295-ac3e-080cab11719a] with no body
2025-01-10 01:00:38:754 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Got response with status 200: {"sessionId":"f6f878ee-0eb4-4295-ac3e-080cab11719a","value":null}
2025-01-10 01:00:38:756 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
2025-01-10 01:00:38:757 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] [Instrumentation] The process has exited with code null, signal SIGTERM
2025-01-10 01:00:38:758 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 shell dumpsys activity services io.appium.settings/.recorder.RecorderService'
2025-01-10 01:00:38:763 [bd848ab2][ADB] Removing forwarded port socket connection: 8200 
2025-01-10 01:00:38:763 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com:7409 forward --remove tcp:8200'
2025-01-10 01:00:38:773 [bd848ab2]�[38;5;-98m[AndroidUiautomator2Driver@8009] Restoring hidden api policy to the device default configuration
2025-01-10 01:00:38:774 [bd848ab2][ADB] Running '/opt/android/platform-tools/adb -P 5037 -s stf.linecorp.com\:7409 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
2025-01-10 01:00:38:927 [bd848ab2][Logcat] Stopping logcat capture
2025-01-10 01:00:38:929 [bd848ab2][AppiumDriver@d8dd] Event 'newSessionStarted' logged at 1736470838929 (10:00:38 GMT+0900 (Korean Standard Time))
2025-01-10 01:00:38:945 [bd848ab2][AppiumDriver@d8dd] Encountered internal error running command: Error: Cannot start the 'jp.naver.line.android' application. Consider checking the driver's troubleshooting documentation. Original error: 'jp.naver.line.android/.activity.SplashActivity' or 'jp.naver.line.android.jp.naver.line.android/.activity.SplashActivity' never started. Consider checking the driver's troubleshooting documentation.
    at ADB.startApp (/root/.appium/node_modules/appium-uiautomator2-driver/node_modules/appium-adb/lib/tools/apk-utils.js:182:11)
    at AndroidUiautomator2Driver.ensureAppStarts (/root/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:822:5)
    at AndroidUiautomator2Driver.performSessionPostExecSetup (/root/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:637:7)
    at AndroidUiautomator2Driver.startUiAutomator2Session (/root/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:694:5)
    at AndroidUiautomator2Driver.createSession (/root/.appium/node_modules/appium-uiautomator2-driver/lib/driver.ts:407:22)
    at AppiumDriver.createSession (/usr/lib/node_modules/appium/lib/appium.js:731:35)
2025-01-10 01:00:38:959 [bd848ab2][HTTP] <-- POST /session 500 27113 ms - 1150 
2025-01-10 01:00:38:965 [Appium] Received SIGTERM - shutting down

this is capabilities

caps = {
            "platformName": "Android",
            "newCommandTimeout": 300,
            "appium:options": {
                "appPackage":  self.package_name,
                "automationName": "UiAutomator2",
                "udid": self.device_ip,
                "noReset": True,
                "clearDeviceLogsOnStart": True,
                "autoGrantPermissions": True,
                "uiautomator2ServerInstallTimeout": 2 * 60 * 1000   # 2-min
            }
        }

@didental didental reopened this Jan 10, 2025
@mykola-mokhnach
Copy link
Contributor

This is expected. Try to explicitly provide appWaitActivity in capabilities. See https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/activity-startup.md for more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants