{ "id": "132458", "key": "AC-1377", "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": "2014-07-18T22:40:52.000+0000", "created": "2014-07-01T14:19:59.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:47.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": [], "description": "If you update your Android SDK for the ‘L’ preview release, it will bring down an update that causes an error when compiling an Titanium project targeted at Android. On the command line tool it will look something like this:\r\n\r\n/usr/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185 throw e; ^ TypeError: Bad argument at ChildProcess.spawn (child_process.js:923:24)\r\n\r\nIn Titanium Studio, it will complain about a ‘zipalign’ module and say your SDK is outdated. It’s a quick fix, cd into your Android SDK directory root and run:\r\n\r\ncp build-tools/19.1.0/zipalign tools/\r\n\r\nThis will allow titanium app to compile now. After this fix, i had updated my Android SDK again, and once again, Titanium failed to compile and I had to run this command again.", "attachment": [], "flagged": false, "summary": "Latest Android SDK update breaks compilation", "creator": { "name": "mlabieniec", "key": "mlabieniec", "displayName": "Michael Labieniec", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mlabieniec", "key": "mlabieniec", "displayName": "Michael Labieniec", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ubuntu 14.04, Android SDK 19", "comment": { "comments": [ { "id": "312009", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "updateAuthor": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2014-07-02T04:03:22.000+0000", "updated": "2014-07-02T04:03:22.000+0000" }, { "id": "314905", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-18T22:40:52.000+0000", "updated": "2014-07-18T22:40:52.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }