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

Windows: Failed to install app on device

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 6.1.0
    • Fix Version/s: Release 6.1.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Windows 10 Mobile
      Titanium SDK 6.1.x
      Titanium SDK 6.2.x

    • Story Points:
      5
    • Sprint:
      2017 Sprint 10 SDK

      Description

      Unable to install app on Windows 10 Mobile device. App deployment failed at install dependencies, but I found that we can actually skip the step and then deployment went well.

       appc run -p windows --wp-sdk 10.0 --target wp-device -l trace
      

      [INFO]  Writing build manifest: C:\Users\username\.titanium\vsbuild\hyperloop-examples\build-manifest.json
      [INFO]  Copying results back to project build directory
      [INFO]  Finished building the application in 1m 2s 484ms
      [INFO]  Installing and launching the application. Please wait as this may take some time...
      [INFO]  Installing dependency: Microsoft.NET.CoreRuntime.1.0.appx
      [INFO]  Project built successfully in 1m 3s 549ms
       
      [TRACE] updating tiapp metadata with Appcelerator Platform...
      [TRACE] Uploaded tiapp metadata with Appcelerator Platform!
      [INFO]  Installing dependency: Microsoft.VCLibs.ARM.Debug.14.00.appx
      [ERROR] A debug application is already installed, please remove existing debug application
      

      I suspect deployment behavior has been changed at some point of SDK update, so I would suggest adding new command line flag skipInstallDependencies to keep backward compatibility.

      I would like to push this to 6.1.x because it's critical.

      Step to Test

       appc run -p windows --wp-sdk 10.0 --target wp-device -l trace --skipInstallDependencies
      

      Expected

      Deployment and app launch should not fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiguchi Kota Iguchi (Inactive)
                Reporter:
                kiguchi Kota Iguchi (Inactive)
                Reviewer:
                Gary Mathews
                Tester:
                Samir Mohammed
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration