{ "id": "142319", "key": "TIMOB-18316", "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": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-07T16:19:21.000+0000", "created": "2015-01-06T14:50:18.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "windows-8", "windows8" ], "versions": [], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2015-01-08T14:30:17.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": "Win8 Preview, cannot launch app into emulator or device\r\n\r\nI am following the instructions from the Blog Post (http://www.appcelerator.com/blog/2014/12/windows-platform-preview/)\r\n\r\nWhen i launch to the emulator, using: \r\n\r\nti build -p windows -T wp-emulator -C 8-1-1 --wp-publisher-guid 00000000-0000-1000-8000-000000000000\r\n\r\nit builds and installs the app on the emulator but exists immediately\r\n\r\nError message is:\r\n\r\n[ERROR] Failed to install app (code -2146233088)\r\n\r\nTerminal log with \"ti info\" and screen shot attached", "attachment": [ { "id": "53415", "filename": "Screen Shot 2015-01-06 at 9.43.00 AM.png", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2015-01-06T14:50:18.000+0000", "size": 3967444, "mimeType": "image/png" }, { "id": "53452", "filename": "Screen Shot 2015-01-07 at 3.39.26 PM.png", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2015-01-07T20:44:49.000+0000", "size": 1791943, "mimeType": "image/png" }, { "id": "53414", "filename": "win8_console_log.rtf", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2015-01-06T14:50:18.000+0000", "size": 14020, "mimeType": "text/rtf" } ], "flagged": false, "summary": "Windows: Cannot launch app into emulator with \"Failed to install app\" error", "creator": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "environment": "Win 8.1 VM\r\nTi SDK 3.6.0.v20150105084202\r\nVisual Studio 2013 Professional Update 4", "closedSprints": [ { "id": 190, "state": "closed", "name": "2015 Sprint 01 Windows", "startDate": "2015-01-04T01:00:00.000Z", "endDate": "2015-01-17T01:00:00.000Z", "completeDate": "2015-01-19T17:24:52.769Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "338010", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Note that This exact error was happening for users in the Titanium Contributors flow as well. There's a related issue open for windowslib to better surface the underlying error messages here: https://github.com/appcelerator/windowslib/issues/5\r\n\r\nIn this case, the user(s) on the Titanium Contributor flow reported that the true error message was: \r\n{code}\r\nError: Package failed updates, dependency or conflict validation.\r\n{code}\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-06T19:16:35.000+0000", "updated": "2015-01-06T19:16:35.000+0000" }, { "id": "338018", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "body": "Thanks Chris, is there a workaround or solution that I can try out or am i stuck?", "updateAuthor": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2015-01-06T19:44:00.000+0000", "updated": "2015-01-06T19:44:00.000+0000" }, { "id": "338158", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I think I've found the issue. Basically this will happen if the DLLs fail to load as Gary states, and this is a direct result of some sort of build issue either on our building/packaging on Jenkins, or in the cmake setup we use for the user projects. In this case, I believe it was both, resulting from new modules being adding as separate libraries - specifically The \"Ti\" module. When a new module is added, or sometimes even when dependencies between modules change, it requires tweaks to our build to make sure we pick up the generated libs when we package up the SDK on Jenkins - and it requires tweaks to the cmake scripts to be able to reference and find the built library.\r\n", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-07T14:50:57.000+0000", "updated": "2015-01-07T14:59:06.000+0000" }, { "id": "338159", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/75", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-07T14:57:26.000+0000", "updated": "2015-01-07T14:57:26.000+0000" }, { "id": "338161", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "So one of the reasons why we only saw this on some people's machines was when they installed the SDK. If they installed the SDK before the new \"Ti\" module got in, it should have worked. But anyone who tried an SDK after that would get this failure (which is why so many of the end users are seeing this).", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-07T14:58:58.000+0000", "updated": "2015-01-07T14:58:58.000+0000" }, { "id": "338166", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "body": "Thanks Chris. Is there some workaround for me?\r\n\r\nI did have older SDKs and Ti installed.\r\n\r\nI can uninstall and try to resin tall again if you think that may work?", "updateAuthor": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2015-01-07T15:21:40.000+0000", "updated": "2015-01-07T15:21:40.000+0000" }, { "id": "338171", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~lbrenman] The PR just got merged and the SDK is building. Once it's done you should be able to just do a `ti sdk install -b master -d` and get the fix. You'll have to modify your existing project to use that SDK version in the tiapp.xml. Given historical build times, I'd expect the build to be done about 45 minutes from now.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-07T16:22:30.000+0000", "updated": "2015-01-07T16:22:30.000+0000" }, { "id": "338202", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "FYI, I just verified using the latest master build and it worked for me, so hopefully you can try now [~lbrenman].", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-01-07T19:19:42.000+0000", "updated": "2015-01-07T19:19:42.000+0000" }, { "id": "338241", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "body": "Hi Chris, I just tried and it worked!!! Thanks for the taking care of this so quickly.", "updateAuthor": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2015-01-07T20:43:56.000+0000", "updated": "2015-01-07T20:43:56.000+0000" }, { "id": "338242", "author": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "body": "Screen shot of everything working well", "updateAuthor": { "name": "lbrenman", "key": "lbrenman", "displayName": "Leor Brenman", "active": true, "timeZone": "America/Havana" }, "created": "2015-01-07T20:44:49.000+0000", "updated": "2015-01-07T20:44:49.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }