{ "id": "164460", "key": "TIMOB-24123", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2021-02-11T12:13:18.000+0000", "created": "2016-11-09T11:42:01.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": null, "updated": "2021-02-11T12:13:18.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 the situtation in TIMOB-23758 occurs, the error thrown is the below \r\n\r\n{code}\r\n[ERROR] A debug application is already installed, please remove existing debug application\r\n[ERROR] Error: A debug application is already installed, please remove existing debug application\r\n at ChildProcess. (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.0.0.v20161107075927\\node_modules\\windowslib\\lib\\wptool.js:837:15)\r\n at emitTwo (events.js:87:13)\r\n at ChildProcess.emit (events.js:172:7)\r\n at maybeClose (internal/child_process.js:829:16)\r\n at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)\r\n{code}\r\n\r\nThis is misleading as it is not the real reason as to why the install process has failed, the error returned from winappdeploycmd is the below, although this isn't exactly helpful we should still show the error message returned by winappdeploycmd\r\n\r\n{code}\r\nOpening connection to device at '169.254.22.147'.\r\n\r\nInstalling app...\r\nDisconnecting.\r\n\r\n0x80131500 - Failed to install or update package: Unspecified error\r\n0x80131500 - Unspecified error\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# On a machine with 10.0.14393 SDK installed build to a 10.0.10586 emulator\r\n\r\nh5.Actual result\r\n\r\nThe error shown will be related to an existing debug application to be installed\r\n\r\nh5.Expected result\r\n\r\nThe error message returned should be helpful to the user", "attachment": [], "flagged": false, "summary": "Windows: Incorrect error message being thrown when deployment fails due to a higher minSDKVersion", "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": "OS: Microsoft Windows 10 Pro 10.0.14393\r\nAppc core: 6.0.0-69\r\nAppc NPM: 4.2.8-9\r\nTi SDK: 6.0.0.v20161107075927", "closedSprints": [ { "id": 1136, "state": "closed", "name": "2019 Sprint 11", "startDate": "2019-05-18T17:39:52.830Z", "endDate": "2019-05-31T17:39:00.000Z", "completeDate": "2019-06-04T21:37:11.485Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "448843", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "So the issue here is that the tooling we are using (WinAppDeployCmd) doesn't return correct error message when target sdk version does not match. It tends to return \"Unspecified error\" with no additional information so we don't have a way to detect right reason.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-06-05T04:42:16.000+0000", "updated": "2019-06-05T04:42:33.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }