Created
January 26, 2022 16:22
-
-
Save billy8407/2684178fd418c1574dec59813c9950a1 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":"uiautomator1","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":"uiautomator1","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":"uiautomator1","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":"uiautomator1","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 1643213824509 (00:17:04 GMT+0800 (Taipei Standard Time)) | |
[Appium] Appium v1.22.0 creating new AndroidDriver (v4.49.0) session | |
[Appium] Applying relaxed security to 'AndroidDriver' 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": "uiautomator1", | |
[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: be63813e-b3c2-43fe-8745-cd32fab9003c | |
[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] App file was not listed, instead we're going to run com.android.mms directly on the device | |
[AndroidDriver] Checking whether package is present on the device | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell pm list packages com.android.mms' | |
[AndroidDriver] Starting Android session | |
[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 793ms | |
[ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk | |
[ADB] Failure [INSTALL_FAILED_OLDER_SDK] | |
[AndroidDriver] Shutting down Android driver | |
[AndroidDriver] Called deleteSession but bootstrap wasn't active | |
[ADB] Running 'C:\Users\billy\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 6DS8UKY9QKKJFYFQ shell am force-stop io.appium.unlock' | |
[BaseDriver] Event 'newSessionStarted' logged at 1643213886965 (00:18:06 GMT+0800 (Taipei Standard Time)) | |
[W3C] Encountered internal error running command: Error: pkg: /data/local/tmp/appium_cache/7c30ec5f0f993ec5accfb84873e85dc5147fdf0c.apk | |
[W3C] Failure [INSTALL_FAILED_OLDER_SDK] | |
[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 AndroidDriver.startAndroidSession (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\driver.js:234:23) | |
[W3C] at AndroidDriver.createSession (C:\Users\billy\AppData\Local\Programs\Appium Server GUI\resources\app\node_modules\appium\node_modules\appium-android-driver\lib\driver.js:185: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 62459 ms - 873 | |
[HTTP] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment