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

Windows: Unable to select a Windows 10 mobile emulator in selection prompt

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.1.0
    • Component/s: Windows
    • Labels:
    • Environment:

      Windows 10 Pro
      Visual Studio 2015 Community Edition
      Lumia 1020, 10.0
      Appc CLI: 5.1.0-38
      Ti SDK: 5.1.0.v20151026164636

    • Story Points:
      5
    • Sprint:
      2015 Sprint 22 SDK

      Description

      Description

      When building a project using appc run -p windows, if selecting a Windows 10 emulator then the prompt will be re-shown without any error being fed back to the user.

      If building and passing in the emulator ID, such as appc run -p windows -T wp-emulator -C 8-1-1 then the CLI will show the error [ERROR] Invalid device id Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB: Windows 10 Mobile Emulator is not supported'

      Notes

      If this check is taken out and the a Windows 10 mobile emulator is selected then the build will eventually error out with the below on install

      [ERROR] The deployment operation failed because the package targets the wrong processor architecture.
      [ERROR] Error: The deployment operation failed because the package targets the wrong processor architecture.
      at ChildProcess.<anonymous> (C:\ProgramData\Titanium\mobilesdk\win32\5.1.0.v20151026164636\node_modules\windowslib\lib\emulator.js:287:15)
      at ChildProcess.emit (events.js:110:17)
      at maybeClose (child_process.js:1015:16)
      at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
      
      

      Steps to reproduce

      1. Ensure you have Windows 10 mobile emulators installed
      2. Build a project using appc run -p windows
      3. Select a Windows 10 mobile emulator such as Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB
      4. Build a project using appc run -p windows -T wp-emulator -C 8-1-1

      Actual result

      3. The emulator will not be selected, the prompt will be re-shown and there will be no feedback as to why
      4. The build will error with a message similar to [ERROR] Invalid device id Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB: Windows 10 Mobile Emulator is not supported'

      Expected result

      Emulators that are not supported should not be shown as an option to build to

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi (Inactive)
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Christopher Williams
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration