[TIMOB-24656] Windows: Failed to install app on device
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-05-09T17:13:14.000+0000 |
Affected Version/s | Release 6.1.0 |
Fix Version/s | Release 6.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2017-05-04T06:06:49.000+0000 |
Updated | 2017-05-15T17:56:46.000+0000 |
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.
https://github.com/appcelerator/titanium_mobile_windows/pull/989
Verified in SDK version: 6.2.0.v20170512073825 and 6.1.0.v20170514022959 was able to deploy the app and then for it to launch without failing. Test and other information can be found at: Master: https://github.com/appcelerator/titanium_mobile_windows/pull/989 6_1_X: https://github.com/appcelerator/titanium_mobile_windows/pull/990