Created
June 7, 2018 10:45
-
-
Save loveiset/98acb1e58327c8a8a2cf65fbfc6fecc6 to your computer and use it in GitHub Desktop.
This file contains 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
C:\Users\hechangshu1 (hechangshu1@1.0.0) | |
λ cappium --session-override --chromedriver-executable D:\hcs\Downloads\chromedriver_win32\chromedriver.exe | |
[Appium] Welcome to Appium v1.8.1 | |
[Appium] Non-default server args: | |
[Appium] sessionOverride: true | |
[Appium] chromedriverExecutable: D:\hcs\Downloads\chromedriver_win32\chromedriver.exe | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"alwaysMatch":{"appium:unicodeKeyboard":"True","appium:resetKeyboard":"True","appium:noReset":false,"appium:fullReset":false,"appium:automationName":"Uiautomator2","appium:app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","appium:deviceName":"1df270ff","appium:recreateChromeDriverSessions":true,"appium:platformVersion":"7.1.1","appium:chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","appium:chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","platformName":"Android","appium:nativeWebScreenshot":true},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"1df270ff","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","recreateChromeDriverSessions":true,"app":"D:\\hcs\\Documents\ | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"1df270ff","chromedriverChromeMappingFile":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver\\chromedriver.json","recreateChromeDriverSessions":true,"app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","noReset":false,"unicodeKeyboard":"True","chromedriverExecutableDir":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\driver\\tools\\chromedriver","nativeWebScreenshot":true,"resetKeyboard":"True","platformVersion":"7.1.1","fullReset":false,"platformName":"Android","automationName":"Uiautomator2"},null,{"alwaysMatch":{"appium:unicodeKeyboard":"True","appium:resetKeyboard":"True","appium:noReset":false,"appium:fullReset":false,"appium:automationName":"Uiautomator2","appium:app":"D:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk","appium:deviceName":"1df270ff","appium:recreateChromeDriverSessions":true,"appium:platformVersion":"7.1.1","appium:chromedriverChromeMap... | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1528367807340 (18:36:47 GMT+0800 (中国标准时间)) | |
[Appium] Creating new AndroidUiautomator2Driver (v1.12.0) session | |
[Appium] Capabilities: | |
[Appium] platformName: Android | |
[Appium] unicodeKeyboard: True | |
[Appium] resetKeyboard: True | |
[Appium] noReset: false | |
[Appium] fullReset: false | |
[Appium] automationName: Uiautomator2 | |
[Appium] app: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk | |
[Appium] deviceName: 1df270ff | |
[Appium] recreateChromeDriverSessions: true | |
[Appium] platformVersion: 7.1.1 | |
[Appium] chromedriverChromeMappingFile: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\driver\tools\chromedriver\chromedriver.json | |
[Appium] chromedriverExecutableDir: D:\hcs\Documents\workspace\app_auto_android\lib\appbase\driver\tools\chromedriver | |
[Appium] nativeWebScreenshot: true | |
[debug] [BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities [object Object] were provided | |
[debug] [BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa... | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Boolean capability passed in as string. Functionality may be compromised. | |
[BaseDriver] Capability 'unicodeKeyboard' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] Capability 'resetKeyboard' changed from string to boolean. This may cause unexpected behavior | |
[BaseDriver] Session created with session id: 015d47c8-7838-4504-a1ba-2ff11ba566d8 | |
[BaseDriver] Using local app 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' | |
[debug] [UiAutomator2] Checking whether app is actually present | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_144 | |
[ADB] Checking whether adb is present | |
[ADB] Found 2 'build-tools' folders under 'D:\hcs\Documents\Android-SDK' (newest first): | |
[ADB] D:/hcs/Documents/Android-SDK/build-tools/27.0.3 | |
[ADB] D:/hcs/Documents/Android-SDK/build-tools/26.0.2 | |
[ADB] Using adb.exe from D:\hcs\Documents\Android-SDK\platform-tools\adb.exe | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Looking for a device with Android '7.1.1' | |
[debug] [ADB] Setting device id to 1df270ff | |
[ADB] Getting device platform version | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.release' | |
[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1 | |
[AndroidDriver] Using device: 1df270ff | |
[debug] [ADB] Setting device id to 1df270ff | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.sdk' | |
[debug] [ADB] Current device property 'ro.build.version.sdk': 25 | |
[debug] [ADB] Device API level: 25 | |
[debug] [AndroidDriver] Parsing package and activity from app manifest | |
[ADB] Using the alternative activity name detection method because of: Could not find apkanalyzer.bat in D:\hcs\Documents\Android-SDK\platform-tools\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\emulator\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\tools\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\tools\bin\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apkanalyzer.bat,D:\hcs\Documents\Android-SDK\build-tools\26.0.2\apkanalyzer.bat. Do you have the Android SDK installed at 'D:\hcs\Documents\Android-SDK'? | |
[ADB] Checking whether aapt is present | |
[ADB] Using aapt.exe from D:\hcs\Documents\Android-SDK\build-tools\27.0.3\aapt.exe | |
[ADB] Extracting package and launch activity from manifest | |
[ADB] Package name: 'com.crc.hrt' | |
[ADB] Main activity name: 'com.hrt.platform.activity.FlashActivity' | |
[debug] [AndroidDriver] Parsed package and activity are: com.crc.hrt/com.hrt.platform.activity.FlashActivity | |
[ADB] Getting device platform version | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.build.version.release' | |
[debug] [ADB] Current device property 'ro.build.version.release': 7.1.1 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell wm size' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell wm density' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.product.model' | |
[debug] [ADB] Current device property 'ro.product.model': ONEPLUS A5010 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell getprop ro.product.manufacturer' | |
[debug] [ADB] Current device property 'ro.product.manufacturer': OnePlus | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server' | |
[debug] [ADB] Checking app cert for C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk | |
[ADB] Using apksigner.bat from D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat | |
[debug] [ADB] Patching 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' for Windows... | |
[debug] [ADB] Starting patched 'C:\Users\HECHAN~1\AppData\Local\Temp\201857-14456-17lgkc3.mm9tg\apksigner.bat' with args 'verify,--print-certs,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' | |
[debug] [ADB] 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' is not signed with debug cert. | |
[debug] [ADB] Zip-aligning 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' | |
[ADB] Checking whether zipalign is present | |
[ADB] Using zipalign.exe from D:\hcs\Documents\Android-SDK\build-tools\27.0.3\zipalign.exe | |
[debug] [ADB] Signing 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' with default cert | |
[debug] [ADB] Patching 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' for Windows... | |
[debug] [ADB] Starting patched 'C:\Users\HECHAN~1\AppData\Local\Temp\201857-14456-bc30qm.micv\apksigner.bat' with args 'sign,--key,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-adb\keys\testkey.pk8,--cert,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-adb\keys\testkey.x509.pem,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' | |
[debug] [ADB] Checking app cert for C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk | |
[debug] [ADB] Patching 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' for Windows... | |
[debug] [ADB] Starting patched 'C:\Users\HECHAN~1\AppData\Local\Temp\201857-14456-1cx6fn.nsi5l\apksigner.bat' with args 'verify,--print-certs,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' | |
[debug] [ADB] 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is not signed with debug cert. | |
[debug] [ADB] Zip-aligning 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' | |
[debug] [ADB] Signing 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' with default cert | |
[debug] [ADB] Patching 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' for Windows... | |
[debug] [ADB] Starting patched 'C:\Users\HECHAN~1\AppData\Local\Temp\201857-14456-z3u654.2x1lk\apksigner.bat' with args 'sign,--key,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-adb\keys\testkey.pk8,--cert,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-adb\keys\testkey.x509.pem,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' | |
[debug] [ADB] Uninstalling io.appium.uiautomator2.server | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff uninstall io.appium.uiautomator2.server' | |
[debug] [ADB] 'adb uninstall io.appium.uiautomator2.server' command output: Success | |
[ADB] io.appium.uiautomator2.server was successfully uninstalled | |
[debug] [ADB] Uninstalling io.appium.uiautomator2.server.test | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server.test' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop io.appium.uiautomator2.server.test' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff uninstall io.appium.uiautomator2.server.test' | |
[debug] [ADB] 'adb uninstall io.appium.uiautomator2.server.test' command output: Success | |
[ADB] io.appium.uiautomator2.server.test was successfully uninstalled | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] App 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v1.12.0.apk' not installed. Installing | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v1.12.0.apk' | |
[debug] [ADB] Install command stdout: Success | |
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.uiautomator2.server.test' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] App 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' not installed. Installing | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk' | |
[debug] [ADB] Install command stdout: Success | |
[debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list instrumentation' | |
[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff wait-for-device' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell echo ping' | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Getting install status for io.appium.settings | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.settings' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for 'io.appium.settings' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys package io.appium.settings' | |
[debug] [ADB] The installed 'io.appium.settings' package does not require upgrade ('2.3.0' >= '2.3.0') | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ps' | |
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. | |
[debug] [ADB] Device API level: 25 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell appops set io.appium.settings android\:mock_location allow' | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'null' and country: 'null' | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Enabling Unicode keyboard support | |
[debug] [AndroidDriver] Pushing unicode ime to device... | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-ime\\bin\\UnicodeIME-debug.apk' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install C\:\\Users\\hechangshu1\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-android-ime\\bin\\UnicodeIME-debug.apk' | |
[debug] [ADB] Application 'C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-android-ime\bin\UnicodeIME-debug.apk' already installed. Continuing. | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell settings get secure default_input_method' | |
[debug] [AndroidDriver] Unsetting previous IME io.appium.android.ime/.UnicodeIME | |
[debug] [AndroidDriver] Setting IME to 'io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ime enable io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ime set io.appium.android.ime/.UnicodeIME' | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Getting install status for io.appium.unlock | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages io.appium.unlock' | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting package info for 'io.appium.unlock' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell dumpsys package io.appium.unlock' | |
[debug] [ADB] The installed 'io.appium.unlock' package does not require upgrade ('2.0.0' >= '2.0.0') | |
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200 | |
[debug] [ADB] Forwarding system: 8200 to device: 6790 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff forward tcp\:8200 tcp\:6790' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell rm -rf /data/local/tmp/strings.json' | |
[debug] [AndroidDriver] Extracting strings from apk | |
[debug] [AndroidDriver] D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk | |
[debug] [AndroidDriver] null | |
[debug] [AndroidDriver] C:\Users\HECHAN~1\AppData\Local\Temp\com.crc.hrt | |
[debug] [ADB] Extracting strings for language: default | |
[ADB] Successfully extracted 1309 strings from 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' resources for '(default)' configuration | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff push C\:\\Users\\HECHAN~1\\AppData\\Local\\Temp\\com.crc.hrt\\strings.json /data/local/tmp' | |
[debug] [ADB] Checking app cert for D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk | |
[debug] [ADB] Patching 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' for Windows... | |
[debug] [ADB] Starting patched 'C:\Users\HECHAN~1\AppData\Local\Temp\201857-14456-1ksw0ty.qirx\apksigner.bat' with args 'verify,--print-certs,D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' | |
[debug] [ADB] 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' is not signed with debug cert. | |
[debug] [ADB] Zip-aligning 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' | |
[debug] [ADB] Signing 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' with default cert | |
[debug] [ADB] Patching 'D:\hcs\Documents\Android-SDK\build-tools\27.0.3\apksigner.bat' for Windows... | |
[debug] [ADB] Starting patched 'C:\Users\HECHAN~1\AppData\Local\Temp\201857-14456-1c7bjtc.rkw2\apksigner.bat' with args 'sign,--key,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-adb\keys\testkey.pk8,--cert,C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-adb\keys\testkey.x509.pem,D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' | |
[debug] [ADB] Getting install status for com.crc.hrt | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages com.crc.hrt' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] Getting install status for com.crc.hrt | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell pm list packages com.crc.hrt' | |
[debug] [ADB] App is not installed | |
[debug] [ADB] App 'D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk' not installed. Installing | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install D\:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff install D\:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk' | |
[debug] [UiAutomator2] Deleting UiAutomator2 session | |
[debug] [UiAutomator2] Deleting UiAutomator2 server session | |
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: Error: Trying to proxy a session command without session id | |
[debug] [UiAutomator2] Resetting IME to 'io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell ime set io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff shell am force-stop com.crc.hrt' | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [ADB] Removing forwarded port socket connection: 8200 | |
[debug] [ADB] Running 'D:\hcs\Documents\Android-SDK\platform-tools\adb.exe -P 5037 -s 1df270ff forward --remove tcp\:8200' | |
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1528367841604 (18:37:21 GMT+0800 (中国标准时间)) | |
[W3C] Encountered internal error running command: Error: Error executing adbExec. Original error: 'Command 'D\:\\hcs\\Documents\\Android-SDK\\platform-tools\\adb.exe -P 5037 -s 1df270ff install D\:\\hcs\\Documents\\workspace\\app_auto_android\\lib\\appbase\\apps\\android_v280.apk' exited with code 1'; Stderr: 'adb: failed to install D:\hcs\Documents\workspace\app_auto_android\lib\appbase\apps\android_v280.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl312947254.tmp/base.apk: META-INF/CERT.SF indicates /data/app/vmdl312947254.tmp/base.apk is signed using APK Signature Scheme v2, but no such signature was found. Signature stripped?]'; Code: '1' | |
[W3C] at ADB.execFunc$ (C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\appium-adb\lib\tools\system-calls.js:317:13) | |
[W3C] at tryCatch (C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40) | |
[W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22) | |
[W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21) | |
[W3C] at GeneratorFunctionPrototype.invoke (C:\Users\hechangshu1\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37) | |
[W3C] at <anonymous> | |
[HTTP] <-- POST /wd/hub/session 500 34315 ms - 2676 | |
[HTTP] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment