Skip to content

Instantly share code, notes, and snippets.

@DianPermana
Created September 10, 2024 23:53
Show Gist options
  • Save DianPermana/032b3f1114b4e1cd672ec440d8e1485c to your computer and use it in GitHub Desktop.
Save DianPermana/032b3f1114b4e1cd672ec440d8e1485c to your computer and use it in GitHub Desktop.
Failed to create session. An unknown server-side error occurred while processing the command. Original error: No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please ma…
PS C:\Users\User> appium
[Appium] Welcome to Appium v2.11.3
[Appium] The autodetected Appium home path: C:\Users\User\.appium
[Appium] Attempting to load driver flutter...
[Appium] Attempting to load driver uiautomator2...
[Appium] Attempting to load driver windows...
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-flutter-driver\build\lib\driver.js
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-windows-driver\build\index.js
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-uiautomator2-driver\build\index.js
[Appium] FlutterDriver has been successfully loaded in 1.960s
[Appium] WindowsDriver has been successfully loaded in 1.960s
[Appium] AndroidUiautomator2Driver has been successfully loaded in 1.961s
[Appium] Attempting to load driver chromium...
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-chromium-driver\index.js
[Appium] ChromiumDriver has been successfully loaded in 0.388s
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLs in your client code to connect to this server:
http://192.168.56.1:4723/
http://192.168.27.2:4723/
http://192.168.18.16:4723/
http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] Available drivers:
[Appium] - flutter@2.9.2 (automationName 'Flutter')
[Appium] - uiautomator2@3.7.9 (automationName 'UiAutomator2')
[Appium] - windows@2.12.31 (automationName 'Windows')
[Appium] - chromium@1.3.34 (automationName 'Chromium')
[Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use.
[HTTP] --> POST /session {"capabilities":{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:forceAppLaunch":true,"appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ignoreHiddenApiPolicyError":true,"appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:forceAppLaunch":true,"appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ignoreHiddenApiPolicyError":true,"appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}}
[AppiumDriver@152e] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:forceAppLaunch":true,"appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ignoreHiddenApiPolicyError":true,"appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"14","appium:deviceName":"Emulator_test_123","appium:forceAppLaunch":true,"appium:appActivity":".MainActivity","appium:appPackage":"com.example.github_actions_example","appium:automationName":"flutter","appium:ignoreHiddenApiPolicyError":true,"appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}]
[AppiumDriver@152e] Event 'newSessionRequested' logged at 1726012317639 (06:51:57 GMT+0700 (Western Indonesia Time))
[Appium] Attempting to find matching driver for automationName 'flutter' and platformName 'Android'
[Appium] The 'flutter' driver was installed and matched caps.
[Appium] Will require it at C:\Users\User\.appium\node_modules\appium-flutter-driver
[Appium] Requiring driver at C:\Users\User\.appium\node_modules\appium-flutter-driver\build\lib\driver.js
[AppiumDriver@152e] Appium v2.11.3 creating new FlutterDriver (v2.9.2) session
[AppiumDriver@152e] Checking BaseDriver versions for Appium and FlutterDriver
[AppiumDriver@152e] Appium's BaseDriver version is 9.11.3
[AppiumDriver@152e] FlutterDriver's BaseDriver version is 9.11.3
[FlutterDriver@388c]
[FlutterDriver@388c] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:forceAppLaunch": true,
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ignoreHiddenApiPolicyError": true,
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[FlutterDriver@388c] The following provided capabilities were not recognized by this driver:
[FlutterDriver@388c] deviceName
[FlutterDriver@388c] forceAppLaunch
[FlutterDriver@388c] appActivity
[FlutterDriver@388c] appPackage
[FlutterDriver@388c] ignoreHiddenApiPolicyError
[FlutterDriver@388c] ensureWebviewsHavePages
[FlutterDriver@388c] nativeWebScreenshot
[FlutterDriver@388c] connectHardwareKeyboard
[496255b2][FlutterDriver@388c] Session created with session id: 496255b2-523a-4ed4-98bd-dd79e5a213f3
[496255b2][FlutterDriver@388c] Starting an Android proxy session
[496255b2][AndroidUiautomator2Driver@bb14]
[496255b2][AndroidUiautomator2Driver@bb14] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:platformVersion": "14",
"appium:deviceName": "Emulator_test_123",
"appium:forceAppLaunch": true,
"appium:appActivity": ".MainActivity",
"appium:appPackage": "com.example.github_actions_example",
"appium:automationName": "flutter",
"appium:ignoreHiddenApiPolicyError": true,
"appium:ensureWebviewsHavePages": true,
"appium:nativeWebScreenshot": true,
"appium:newCommandTimeout": 3600,
"appium:connectHardwareKeyboard": true
},
"firstMatch": [
{}
]
}
[496255b2][AndroidUiautomator2Driver@bb14] The following provided capabilities were not recognized by this driver:
[496255b2][AndroidUiautomator2Driver@bb14] connectHardwareKeyboard
[2acb0ee6][AndroidUiautomator2Driver@bb14] Session created with session id: 2acb0ee6-ca2b-44aa-afb9-f2f80e596016
[2acb0ee6][ADB] Found 2 'build-tools' folders under 'C:\Users\User\AppData\Local\Android\Sdk' (newest first):
[2acb0ee6][ADB] C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0
[2acb0ee6][ADB] C:\Users\User\AppData\Local\Android\Sdk\build-tools\30.0.3
[2acb0ee6][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Retrieving device list
[2acb0ee6][ADB] Trying to find connected Android devices
[2acb0ee6][ADB] Getting connected devices
[2acb0ee6][ADB] Connected devices: [{"udid":"emulator-5554","state":"device"}]
[2acb0ee6][AndroidUiautomator2Driver@bb14] Looking for a device with Android '14.0.0'
[2acb0ee6][ADB] Setting device id to emulator-5554
[2acb0ee6][ADB] Getting device platform version
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[2acb0ee6][ADB] Current device property 'ro.build.version.release': 14
[2acb0ee6][AndroidUiautomator2Driver@bb14] Using device: emulator-5554
[2acb0ee6][ADB] Using 'adb.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server'
[2acb0ee6][ADB] Setting device id to emulator-5554
[2acb0ee6][AndroidUiautomator2Driver@bb14] Starting 'com.example.github_actions_example' directly on the device
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk'
[2acb0ee6][ADB] Current device property 'ro.build.version.sdk': 34
[2acb0ee6][ADB] Getting device platform version
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release'
[2acb0ee6][ADB] Current device property 'ro.build.version.release': 14
[2acb0ee6][ADB] Device API level: 34
[2acb0ee6][AndroidUiautomator2Driver@bb14] Relaxing hidden api policy
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 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''
[2acb0ee6][AndroidUiautomator2Driver@bb14] No app sent in, not parsing package/activity
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Pushing settings apk to the device...
[2acb0ee6][ADB] Getting package info for 'io.appium.settings'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings'
[2acb0ee6][ADB] Using 'aapt2.exe' from 'C:\Users\User\AppData\Local\Android\Sdk\build-tools\33.0.0\aapt2.exe'
[2acb0ee6][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\io.appium.settings\\apks\\settings_apk-debug.apk'
[2acb0ee6][ADB] The version code of the installed 'io.appium.settings' is greater than the application version code (103 > 98)
[2acb0ee6][ADB] There is no need to downgrade 'io.appium.settings'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys activity services io.appium.settings'
[2acb0ee6][AndroidUiautomator2Driver@bb14] io.appium.settings is already running. There is no need to reset its permissions.
[2acb0ee6][Logcat] Starting logs capture with command: C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime
[2acb0ee6][AndroidUiautomator2Driver@bb14] Forwarding UiAutomator2 Server port 6790 to local port 8234
[2acb0ee6][ADB] Forwarding system: 8234 to device: 6790
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8234 tcp:6790'
[2acb0ee6][ADB] Getting package info for 'io.appium.uiautomator2.server'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'
[2acb0ee6][ADB] Getting install status for io.appium.uiautomator2.server.test
[2acb0ee6][AndroidUiautomator2Driver@bb14] No app capability. Assuming it is already on the device
[2acb0ee6][ADB] Getting install status for com.example.github_actions_example
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell cmd package list packages'
[2acb0ee6][ADB] Reading package manifest: 'C:\\Users\\User\\AppData\\Local\\Android\\Sdk\\build-tools\\33.0.0\\aapt2.exe dump badging C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk'
[2acb0ee6][ADB] 'io.appium.uiautomator2.server.test' is installed
[2acb0ee6][ADB] 'com.example.github_actions_example' is installed
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop com.example.github_actions_example'
[2acb0ee6][ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('7.0.21' >= '7.0.21')
[2acb0ee6][AndroidUiautomator2Driver@bb14] Server packages status: [{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v7.0.21.apk","appId":"io.appium.uiautomator2.server"},{"installState":"sameVersionInstalled","appPath":"C:\\Users\\User\\.appium\\node_modules\\appium-flutter-driver\\node_modules\\appium-uiautomator2-driver\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk","appId":"io.appium.uiautomator2.server.test"}]
[2acb0ee6][AndroidUiautomator2Driver@bb14] Server packages are not going to be (re)installed
[2acb0ee6][AndroidUiautomator2Driver@bb14] Waiting up to 30000ms for services to be available
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear com.example.github_actions_example'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[2acb0ee6][ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist
[2acb0ee6][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",";"]]
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Performed fast reset on the installed 'com.example.github_actions_example' application (stop and clear)
[2acb0ee6][AndroidUiautomator2Driver@bb14] Performing shallow cleanup of automation leftovers
[2acb0ee6][AndroidUiautomator2Driver@bb14] The following obsolete sessions are still running: ["c5510d8f-df32-4ee6-abf0-9534801dc830"]
[2acb0ee6][AndroidUiautomator2Driver@bb14] Cleaning up 1 obsolete session
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Starting UIAutomator2 server 7.0.21
[2acb0ee6][AndroidUiautomator2Driver@bb14] Using UIAutomator2 server from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v7.0.21.apk' and test from 'C:\Users\User\.appium\node_modules\appium-flutter-driver\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Waiting up to 30000ms for UiAutomator2 to be online...
[2acb0ee6][ADB] Creating ADB subprocess with args: ["-P","5037","-s","emulator-5554","shell","am","instrument","-w","-e","disableAnalytics","true","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"]
[2acb0ee6][AndroidUiautomator2Driver@bb14] Matched '/status' to command name 'getStatus'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Proxying [GET /status] to [GET http://127.0.0.1:8234/status] with no body
[2acb0ee6][AndroidUiautomator2Driver@bb14] socket hang up
[2acb0ee6][AndroidUiautomator2Driver@bb14] [Instrumentation]
[2acb0ee6][AndroidUiautomator2Driver@bb14] Matched '/status' to command name 'getStatus'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Proxying [GET /status] to [GET http://127.0.0.1:8234/status] with no body
[2acb0ee6][AndroidUiautomator2Driver@bb14] socket hang up
[2acb0ee6][AndroidUiautomator2Driver@bb14] Matched '/status' to command name 'getStatus'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Proxying [GET /status] to [GET http://127.0.0.1:8234/status] with no body
[2acb0ee6][AndroidUiautomator2Driver@bb14] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[2acb0ee6][AndroidUiautomator2Driver@bb14] The initialization of the instrumentation process took 2157ms
[2acb0ee6][AndroidUiautomator2Driver@bb14] Matched '/session' to command name 'createSession'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Proxying [POST /session] to [POST http://127.0.0.1:8234/session] with body: {"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","forceAppLaunch":true,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ignoreHiddenApiPolicyError":true,"ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","forceAppLaunch":true,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ignoreHiddenApiPolicyError":true,"ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
[2acb0ee6][AndroidUiautomator2Driver@bb14] Got response with status 200: {"sessionId":"d46ab6ce-5632-468c-a908-ba1ed67a845d","value":{"capabilities":{"firstMatch":[{"platformName":"Android","platformVersion":"14","deviceName":"emulator-5554","forceAppLaunch":true,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ignoreHiddenApiPolicyError":true,"ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true,"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"14","deviceName":"Emulator_test_123","forceAppLaunch":true,"appActivity":".MainActivity","appPackage":"com.example.github_actions_example","automationName":"flutter","ignoreHiddenApiPolicyError":true,"ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":3600,"connectHardwareKeyboard":true},"deviceUDID...
[2acb0ee6][AndroidUiautomator2Driver@bb14] Determined the downstream protocol as 'W3C'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8234/session/d46ab6ce-5632-468c-a908-ba1ed67a845d/appium/device/pixel_ratio] with no body
[2acb0ee6][AndroidUiautomator2Driver@bb14] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8234/session/d46ab6ce-5632-468c-a908-ba1ed67a845d/appium/device/system_bars] with no body
[2acb0ee6][AndroidUiautomator2Driver@bb14] Matched '/window/current/size' to command name 'getWindowSize'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8234/session/d46ab6ce-5632-468c-a908-ba1ed67a845d/window/current/size] with no body
[2acb0ee6][AndroidUiautomator2Driver@bb14] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8234/session/d46ab6ce-5632-468c-a908-ba1ed67a845d/appium/device/info] with no body
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys power'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Got response with status 200: {"sessionId":"d46ab6ce-5632-468c-a908-ba1ed67a845d","value":2.75}
[2acb0ee6][AndroidUiautomator2Driver@bb14] Got response with status 200: {"sessionId":"d46ab6ce-5632-468c-a908-ba1ed67a845d","value":{"statusBar":83}}
[2acb0ee6][AndroidUiautomator2Driver@bb14] Got response with status 200: {"sessionId":"d46ab6ce-5632-468c-a908-ba1ed67a845d","value":{"height":2280,"width":1080}}
[2acb0ee6][AndroidUiautomator2Driver@bb14] Screen already unlocked, doing nothing
[2acb0ee6][AndroidUiautomator2Driver@bb14] Starting 'com.example.github_actions_example/.MainActivity and waiting for 'com.example.github_actions_example/.MainActivity'
[2acb0ee6][ADB] Running 'C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n com.example.github_actions_example/.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
[2acb0ee6][AndroidUiautomator2Driver@bb14] Got response with status 200: {"sessionId":"d46ab6ce-5632-468c-a908-ba1ed67a845d","value":{"androidId":"0c4366abb8f3e683","apiVersion":"34","bluetooth":{"state":"ON"},"brand":"google","carrierName":"","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone64_x86_64","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"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":-50,"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":"1080x2280","timeZone":"Asia/Bangkok"}}
[2acb0ee6][FlutterDriver@388c] Deleting Flutter Driver session
[2acb0ee6][FlutterDriver@388c] Cleanup the port forward
[2acb0ee6][AppiumDriver@152e] Event 'newSessionStarted' logged at 1726012322653 (06:52:02 GMT+0700 (Western Indonesia Time))
[2acb0ee6][AppiumDriver@152e] Encountered internal error running command: Error: No observatory URL matching to '/(Observatory listening on |An Observatory debugger and profiler on\s.+\sis available at: |The Dart VM service is listening on )((http|\/\/)[a-zA-Z0-9:/=_\-.\[\]]+)/' was found in the device log. Please make sure the application under test is configured properly according to https://github.com/appium/appium-flutter-driver#usage and that it does not crash on startup.
at FlutterDriver.getObservatoryWsUri (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:85:13)
at FlutterDriver.connectAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:48:28)
at FlutterDriver.startAndroidSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\android.ts:38:5)
at FlutterDriver.createSession (C:\Users\User\.appium\node_modules\appium-flutter-driver\lib\sessions\session.ts:45:43)
at AppiumDriver.createSession (C:\Users\User\AppData\Roaming\npm\node_modules\appium\lib\appium.js:731:35)
[2acb0ee6][HTTP] <-- POST /session 500 5025 ms - 1378
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment