Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24123

Windows: Incorrect error message being thrown when deployment fails due to a higher minSDKVersion

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: Release 6.0.0
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
    • Environment:

      OS: Microsoft Windows 10 Pro 10.0.14393
      Appc core: 6.0.0-69
      Appc NPM: 4.2.8-9
      Ti SDK: 6.0.0.v20161107075927

    • Story Points:
      5
    • Sprint:
      2019 Sprint 11

      Description

      Description

      When the situtation in TIMOB-23758 occurs, the error thrown is the below

      [ERROR] A debug application is already installed, please remove existing debug application
      [ERROR] Error: A debug application is already installed, please remove existing debug application
          at ChildProcess.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\6.0.0.v20161107075927\node_modules\windowslib\lib\wptool.js:837:15)
          at emitTwo (events.js:87:13)
          at ChildProcess.emit (events.js:172:7)
          at maybeClose (internal/child_process.js:829:16)
          at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
      

      This is misleading as it is not the real reason as to why the install process has failed, the error returned from winappdeploycmd is the below, although this isn't exactly helpful we should still show the error message returned by winappdeploycmd

      Opening connection to device at '169.254.22.147'.
       
      Installing app...
      Disconnecting.
       
      0x80131500 - Failed to install or update package: Unspecified error
      0x80131500 - Unspecified error
      

      Steps to reproduce
      1. On a machine with 10.0.14393 SDK installed build to a 10.0.10586 emulator
      Actual result

      The error shown will be related to an existing debug application to be installed

      Expected result

      The error message returned should be helpful to the user

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi (Inactive)
              Reporter:
              eharris Ewan Harris
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10261
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration