Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23976] Windows: Unable to build to a Windows 10 device if no Windows 10 emulators are installed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-12-01T01:01:14.000+0000
Affected Version/sRelease 6.0.0
Fix Version/sRelease 6.1.0, windowslib 0.4.25
ComponentsWindows
Labelsqe-6.0.0
ReporterEwan Harris
AssigneeKota Iguchi
Created2016-10-03T09:46:43.000+0000
Updated2017-01-27T23:01:22.000+0000

Description

Description

When building to a device from a Windows machine that has just the Windows SDKs installed, it has been seen that the build will fail with the following error, where the UDID is the UDID for the connected device. This appears to be intermittent for some and consistent for others.
[ERROR] Unable to find a Windows Phone device with the UDID "00000015-4e57-1877-0000-000000000000"
[This](https://gist.github.com/ewanharris/989623790051330453ba35d22b9339a1) can be used to test this, be sure to change the project directory in the command before running, and also requires node 6

Steps to reproduce

Install only Windows 10 tools and SDKs

Attempt to build to a Windows device

Actual result

Build will fail

Expected result

Build should not fail

Comments

  1. Ewan Harris 2016-10-03

    Just another data point, while closing out TIMOB-23662, Windows 10 SDK and Windows 8.1 SDK only works
  2. Kota Iguchi 2016-11-09

    Started working on this, I was able to reproduce this.
  3. Kota Iguchi 2016-11-10

    https://github.com/appcelerator/windowslib/pull/59
  4. Kota Iguchi 2016-11-10

    Note: This needs to be merged into https://github.com/appcelerator/titanium_mobile in order to close this ticket.
  5. Ewan Harris 2016-11-30

    [~kota] Just tried your changes. Looks good! (y) app is deployed successfully after making the changes
  6. Samir Mohammed 2017-01-27

    Verified fix, was able to install an application to a windows device when no emulators were installed. *Steps to verify* 1. Uninstalled previous windows 10 emulators 2. Launched studio and created a new application 3. Ran application on a device (Lumia 640 LTE (RM-1073) (OS Build 10.0.14393.693) 4. Application installed on windows phone and ran successfully. *Environment*
       
       Appc Studio version: 4.8.1.201701192045 
       Device: Lumia 640 LTE (RM-1073) (OS Build 10.0.14393.693)
       
       Operating System:
       Name                        = Microsoft Windows 10 Pro
       Version                     = 10.0.14393
       Architecture                = 64bit
       

    CPUs = 4

    Memory = 17034395648 Node.js: Node.js Version = 4.6.0 npm Version = 2.11.3 Titanium SDK: SDK Version = 6.1.0.v20170126175503

JSON Source