Last active
January 26, 2022 16:15
-
-
Save billy8407/0b577ea67d7aade817555aa6d6cbb7ae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[HTTP] Waiting until the server is closed | |
[HTTP] Received server close event | |
[Appium] Welcome to Appium v1.22.0 | |
[Appium] Non-default server args: | |
[Appium] relaxedSecurityEnabled: true | |
[Appium] allowInsecure: { | |
[Appium] } | |
[Appium] denyInsecure: { | |
[Appium] } | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"4.2.2","appium:automationName":"espresso","appium:deviceName":"6DS8UKY9QKKJFYFQ","appium:appPackage":"com.android.mms","appium:appActivity":".ui.MmsTabActivity","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","appium:platformVersion":"4.2.2","appium:automationName":"espresso","appium:deviceName":"6DS8UKY9QKKJFYFQ","appium:appPackage":"com.android.mms","appium:appActivity":".ui.MmsTabActivity","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true}} | |
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","appium:platformVersion":"4.2.2","appium:automationName":"espresso","appium:deviceName":"6DS8UKY9QKKJFYFQ","appium:appPackage":"com.android.mms","appium:appActivity":".ui.MmsTabActivity","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"4.2.2","appium:automationName":"espresso","appium:deviceName":"6DS8UKY9QKKJFYFQ","appium:appPackage":"com.android.mms","appium:appActivity":".ui.MmsTabActivity","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":3600,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}] | |
[BaseDriver] Event 'newSessionRequested' logged at 1643213273213 (00:07:53 GMT+0800 (Taipei Standard Time)) | |
[Appium] Appium v1.22.0 creating new EspressoDriver (v1.45.3) session | |
[Appium] Applying relaxed security to 'EspressoDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure | |
[BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided | |
[BaseDriver] Creating session with W3C capabilities: { | |
[BaseDriver] "alwaysMatch": { | |
[BaseDriver] "platformName": "Android", | |
[BaseDriver] "appium:platformVersion": "4.2.2", | |
[BaseDriver] "appium:automationName": "espresso", | |
[BaseDriver] "appium:deviceName": "6DS8UKY9QKKJFYFQ", | |
[BaseDriver] "appium:appPackage": "com.android.mms", | |
[BaseDriver] "appium:appActivity": ".ui.MmsTabActivity", | |
[BaseDriver] "appium:ensureWebviewsHavePages": true, | |
[BaseDriver] "appium:nativeWebScreenshot": true, | |
[BaseDriver] "appium:newCommandTimeout": 3600, | |
[BaseDriver] "appium:connectHardwareKeyboard": true | |
[BaseDriver] }, | |
[BaseDriver] "firstMatch": [ | |
[BaseDriver] {} | |
[BaseDriver] ] | |
[BaseDriver] } | |
[BaseDriver] The following capabilities were provided, but are not recognized by Appium: | |
[BaseDriver] connectHardwareKeyboard | |
[BaseDriver] Session created with session id: fafc2423-4866-41b0-ab8a-e851231e4685 | |
[Espresso] EspressoDriver version: 1.45.3 | |
[ADB] Using 'adb.exe' from 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe' | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' | |
[AndroidDriver] Retrieving device list | |
[ADB] Trying to find a connected android device | |
[ADB] Getting connected devices | |
[ADB] Connected devices: [{"udid":"6DS8UKY9QKKJFYFQ","state":"device"}] | |
[AndroidDriver] Looking for a device with Android '4.2.2' | |
[ADB] Setting device id to 6DS8UKY9QKKJFYFQ | |
[ADB] Getting device platform version | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell getprop ro.build.version.release' | |
[ADB] Current device property 'ro.build.version.release': 4.2.2 | |
[AndroidDriver] Using device: 6DS8UKY9QKKJFYFQ | |
[ADB] Using 'adb.exe' from 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe' | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' | |
[ADB] Setting device id to 6DS8UKY9QKKJFYFQ | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell getprop ro.build.version.sdk' | |
[ADB] Current device property 'ro.build.version.sdk': 17 | |
[ADB] Device API level: 17 | |
[AndroidDriver] No app sent in, not parsing package/activity | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ wait-for-device' | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell echo ping' | |
[AndroidDriver] Pushing settings apk to device... | |
[ADB] Getting install status for io.appium.settings | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell dumpsys package io.appium.settings' | |
[ADB] 'io.appium.settings' is not installed | |
[ADB] App 'C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' is not installed | |
[ADB] Installing 'C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' | |
[ADB] Skipping permissions grant option, since the current API level 17 does not support applications permissions customization | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ features' | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo _ERROR_'' | |
[ADB] The current Android API does not support extended ls options. Defaulting to no-options call | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell 'ls /data/local/tmp/appium_cache 2>&1 || echo _ERROR_'' | |
[ADB] The count of applications in the cache: 1 | |
[ADB] The application at 'C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' is already cached to '/data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk' | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell touch -am /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk' | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell pm install /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk' | |
[ADB] Getting install status for io.appium.settings | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell dumpsys package io.appium.settings' | |
[ADB] 'io.appium.settings' is not installed | |
[ADB] App 'C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' is not installed | |
[ADB] Installing 'C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' | |
[ADB] Skipping permissions grant option, since the current API level 17 does not support applications permissions customization | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell 'ls /data/local/tmp/appium_cache 2>&1 || echo _ERROR_'' | |
[ADB] The count of applications in the cache: 1 | |
[ADB] The application at 'C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' is already cached to '/data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk' | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell touch -am /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk' | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell pm install /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk' | |
[ADB] The installation of 'settings_apk-debug.apk' took 807ms | |
[ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk | |
[ADB] Failure [INSTALL_FAILED_OLDER_SDK] | |
[Espresso] Deleting espresso session | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell am force-stop com.android.mms' | |
[ADB] Removing forwarded port socket connection: 8300 | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ forward --remove tcp:8300' | |
[Espresso] Unable to remove port forward 'Error executing adbExec. Original error: 'Command 'C:\\Users\\billy\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ forward --remove tcp\:8300' exited with code 1'; Stderr: 'adb.exe: error: listener 'tcp:8300' not found'; Code: '1'' | |
[BaseDriver] Event 'newSessionStarted' logged at 1643213335633 (00:08:55 GMT+0800 (Taipei Standard Time)) | |
[W3C] Encountered internal error running command: A new session could not be created. Details: pkg: /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk | |
[W3C] Failure [INSTALL_FAILED_OLDER_SDK]. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. | |
[W3C] Error: pkg: /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk | |
[W3C] Failure [INSTALL_FAILED_OLDER_SDK]. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. | |
[W3C] at ADB.install (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:615:13) | |
[W3C] at ADB.installOrUpgrade (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:751:7) | |
[W3C] at retryInstallHelperApp (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\android-helpers.js:533:5) | |
[W3C] at retry (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\asyncbox\lib\asyncbox.js:43:13) | |
[W3C] at Object.installHelperApp (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\android-helpers.js:532:3) | |
[W3C] at Object.pushSettingsApp (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\android-helpers.js:549:5) | |
[W3C] at Object.initDevice (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\android-helpers.js:746:5) | |
[W3C] at EspressoDriver.startEspressoSession (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-espresso-driver\lib\driver.js:266:5) | |
[W3C] at EspressoDriver.createSession (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-espresso-driver\lib\driver.js:188:7) | |
[W3C] at AppiumDriver.createSession (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\lib\appium.js:387:35) | |
[HTTP] <-- POST /wd/hub/session 500 62421 ms - 2504 | |
[HTTP] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment