{ "id": "152405", "key": "TIMOB-19811", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-04T00:33:02.000+0000", "created": "2015-10-28T00:19:16.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-5.1.0" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-09T21:20:30.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen 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.\r\n\r\n 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'}}\r\n\r\n*Notes*\r\n\r\nIf 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 \r\n\r\n{code}\r\n[ERROR] The deployment operation failed because the package targets the wrong processor architecture.\r\n[ERROR] Error: The deployment operation failed because the package targets the wrong processor architecture.\r\nat ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.1.0.v20151026164636\\node_modules\\windowslib\\lib\\emulator.js:287:15)\r\nat ChildProcess.emit (events.js:110:17)\r\nat maybeClose (child_process.js:1015:16)\r\nat Process.ChildProcess._handle.onexit (child_process.js:1087:5)\r\n\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Ensure you have Windows 10 mobile emulators installed\r\n2. Build a project using {{appc run -p windows}}\r\n3. Select a Windows 10 mobile emulator such as Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB\r\n4. Build a project using {{appc run -p windows -T wp-emulator -C 8-1-1}}\r\n\r\nh5.Actual result\r\n\r\n3. The emulator will not be selected, the prompt will be re-shown and there will be no feedback as to why\r\n4. 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'}}\r\n\r\nh5.Expected result\r\n\r\nEmulators that are not supported should not be shown as an option to build to", "attachment": [ { "id": "57231", "filename": "win10emus.png", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-03T03:32:51.000+0000", "size": 116128, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Unable to select a Windows 10 mobile emulator in selection prompt", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro \r\nVisual Studio 2015 Community Edition \r\nLumia 1020, 10.0 \r\nAppc CLI: 5.1.0-38 \r\nTi SDK: 5.1.0.v20151026164636", "closedSprints": [ { "id": 517, "state": "closed", "name": "2015 Sprint 22 SDK", "startDate": "2015-10-24T00:30:42.059Z", "endDate": "2015-11-07T01:30:00.000Z", "completeDate": "2015-11-09T02:37:29.441Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "368740", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/462", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-03T01:04:59.000+0000", "updated": "2015-11-03T01:04:59.000+0000" }, { "id": "368751", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Why are Windows 10 Emulators being detected from the 8.1 WPSDK?\r\n\r\n!http://puu.sh/l7qrm/2c2f317727.png!\r\n\r\nThis means {{8-1-1}} is a Windows 10 Emulator which is causing this error on Jenkins (http://studio-jenkins.appcelerator.org/job/titanium_mobile_windows/520/console).\r\n\r\n!http://puu.sh/l7riT/91952a1700.png!", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-03T03:01:50.000+0000", "updated": "2015-11-03T03:31:25.000+0000" }, { "id": "368753", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Yes. {{windowslib}} shows them because Windows Phone 8.1 SDK tool detects them. You'll see Windows 10 mobile emulators are listed in the emulator list when you open *Windows Phone 8.1* project from Visual Studio. (See screenshot)\r\n\r\n!win10emus.png|thumbnail!", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-03T03:31:12.000+0000", "updated": "2015-11-03T03:33:06.000+0000" }, { "id": "369454", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nOS: Microsoft Windows 10 Pro\r\nAppc core: 5.1.0-43\r\nAppc NPM: 4.2.1\r\nTi SDK: 5.1.0.v20151104190037\r\n\r\nWhen building a Windows project for wp-emulator from the CLI there is no longer an option for Windows 10 emulators in the emulator selection prompt. The emulators are still shown in ti info and therefore will still be shown as an option to build to from Studio\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-11-09T21:20:23.000+0000", "updated": "2015-11-09T21:20:23.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }