还未发布过话题
  • 这是哪里出错了,看不懂

    info: [debug] App is installed
    info: App is already installed, resetting app
    info: [debug] Running fast reset (stop and clear)
    info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 shell "am force-stop com.appium.xixi.testapp"
    info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 shell "pm clear com.appium.xixi.testapp"
    info: [debug] Forwarding system:4724 to device:4724
    info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 forward tcp:4724 tcp:4724
    info: [debug] Pushing appium bootstrap to device...
    info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 push "D:\Program Files (x86)\Appium\node_modules\appium\build\android_bootstrap\AppiumBootstrap.jar" /data/local/tmp/
    info: [debug] Pushing settings apk to device...
    info: [debug] executing cmd: F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 install "D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
    info: [debug] Stopping logcat capture
    info: [debug] Logcat terminated with code null, signal SIGTERM
    info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
    warn: UiAutomator did not shut down fast enough, calling it gone
    info: [debug] Cleaning up android objects
    info: [debug] Cleaning up appium session
    error: Failed to start an Appium session, err was: Error: Command failed: C:\Windows\system32\cmd.exe /s /c "F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 install "D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk""
    Failed to install D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.settings without first uninstalling.]

    info: [debug] Error: Command failed: C:\Windows\system32\cmd.exe /s /c "F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 install "D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk""
    Failed to install D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.settings without first uninstalling.]

    at ChildProcess.exithandler (child_process.js:751:12)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1016:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1088:5)
    info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c \"F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 install \"D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk\"\"\nFailed to install D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.settings without first uninstalling.]\r\n)","killed":false,"code":1,"signal":null,"cmd":"C:\Windows\system32\cmd.exe /s /c \"F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 install \"D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk\"\"","origValue":"Command failed: C:\Windows\system32\cmd.exe /s /c \"F:\Android\sdk\platform-tools\adb.exe -s 5LM0216906001288 install \"D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk\"\"\nFailed to install D:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.settings without first uninstalling.]\r\n"},"sessionId":null}
    info: <-- POST /wd/hub/session 500 10884.488 ms - 1306