{ "id": "160912", "key": "AC-3803", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-06-09T05:46:56.000+0000", "created": "2016-06-08T08:14:45.000+0000", "labels": [ "android", "sdk-5.3.0" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [ { "id": "51974", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "160786", "key": "TIMOB-23480", "fields": { "summary": "CLI: Can't launch any app (Android, Mobileweb) on Windows 10 OS", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-09T05:46:56.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Building for Android seems impossible on my Windows system, but not on my Mac.\r\n\r\nI've temporarily fixed it by editing 3 files in the SDK, as described in the end of this wall of text - it seems to have to do with Visual Studio and the Windows SDK, which I do not have installed.\r\n\r\nAlso I can't in this JIRA ticket system select Appc Studio version above 4.5.0(!)\r\n\r\nSteps to reproduce:\r\n1. Create blank, classic project\r\n2. Build it via the Play icon in the top left corner of Appcelerator Studio\r\n3. Observe the following errors:\r\n\r\n\r\n2016-06-08T07:19:23.875Z | DEBUG | Titanium Downloads Last Checked: 1465367918028\r\n2016-06-08T07:19:24.156Z | TRACE | No project alloy hook; skipping update to 1.0.0\r\n2016-06-08T07:19:26.203Z | ERROR | An uncaught exception was thrown!\r\nCannot read property 'options' of undefined\r\n2016-06-08T07:19:26.204Z | ERROR | Cannot read property 'options' of undefined\r\n2016-06-08T07:19:26.205Z | TRACE | TypeError: Cannot read property 'options' of undefined\r\nat C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:65:11\r\nat Array.forEach (native)\r\nat set (C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:64:24)\r\nat C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js:100:6\r\nat C:\\ProgramData\\Titanium\\mobilesdk\\win32\\5.3.0.GA\\mobileweb\\cli\\commands\\_build.js:105:4\r\nat CLI._fireHookCallback (c:\\Users\\Dan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\lib\\hook.js:267:3)\r\nat c:\\Users\\Dan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\lib\\hook.js:248:10\r\nat c:\\Users\\Dan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:697:13\r\nat c:\\Users\\Dan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:52:16\r\nat c:\\Users\\Dan\\.appcelerator\\install\\5.3.0\\package\\node_modules\\titanium\\node_modules\\async\\lib\\async.js:267:21\r\n\r\n\r\nHow to fix (I couldn't find this on Github, so had to use another tool for diff'ing):\r\n# mobilesdk\\win32\\5.3.0.GA\\node_modules\\titanium-sdk\\lib\\titanium.js: https://www.diffchecker.com/owvwlbd3\r\n# mobilesdk\\win32\\5.3.0.GA\\windows\\cli\\commands\\_build\\config\\vstarget.js: https://www.diffchecker.com/r2wgxkew\r\n# mobilesdk\\win32\\5.3.0.GA\\windows\\cli\\commands\\_build\\config\\wpSDK.js: https://www.diffchecker.com/zdvf9qyn\r\n\r\n", "attachment": [], "flagged": false, "summary": "Can't build for Android on Windows with 5.3.0.GA SDK", "creator": { "name": "kronholm", "key": "kronholm", "displayName": "Bitfabrikken - Dan Wulff Kronholm", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kronholm", "key": "kronholm", "displayName": "Bitfabrikken - Dan Wulff Kronholm", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Windows 10, Appcelerator Studio, build: 4.6.0.201605201934", "comment": { "comments": [ { "id": "387915", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "updateAuthor": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-06-09T05:23:42.000+0000", "updated": "2016-06-09T05:23:42.000+0000" }, { "id": "387916", "author": { "name": "kronholm", "key": "kronholm", "displayName": "Bitfabrikken - Dan Wulff Kronholm", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I believe it's more than just Visual Studio. I have both VS 2013 and 2015 installed and still get the error.", "updateAuthor": { "name": "kronholm", "key": "kronholm", "displayName": "Bitfabrikken - Dan Wulff Kronholm", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-06-09T05:27:21.000+0000", "updated": "2016-06-09T05:27:21.000+0000" }, { "id": "387919", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Dupe of TIMOB-23480. Fixed in nightly build via temporary workaround, but will be properly fixed by TIMOB-23484.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-06-09T05:46:56.000+0000", "updated": "2016-06-09T05:46:56.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }