{ "id": "144716", "key": "TIMOB-18573", "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": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-02-27T04:02:35.000+0000", "created": "2015-02-13T22:21:40.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [ { "id": "46006", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "140727", "key": "TIMOB-18113", "fields": { "summary": "Android: Feature Request to select the Android Build Tools version", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2015-06-05T21:01:05.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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "TIMOB-18113 added the ability to specify a specific Android build tools level as well as failing when such tools are newer than the known-supported version. Instead, the tooling should clearly warn the user that they're using a newer version than what is known to work but the build should continue.", "attachment": [], "flagged": false, "summary": "CLI: When build tools are newer than supported range, warn & build rather than fail", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 339, "state": "closed", "name": "2015 Sprint 04 Tooling", "startDate": "2015-02-14T02:34:21.061Z", "endDate": "2015-02-28T02:34:00.000Z", "completeDate": "2015-02-28T15:51:32.596Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "343809", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/6649\r\n\r\nFunctional review steps:\r\n\r\n1. Create a new project that includes Android as a target\r\n2. From the CLI, {{ti build -p android -b}} and observe no specific log messages regarding build tools version.\r\n3. Open the folder containing your Android build tools (e.g. ~/android-sdk/build-tools) and copy the newest folder (e.g. the 21.1.0 folder). Name the new folder one full version new (e.g. 22.1.0)\r\n4. From the CLI, {{ti build -p android -b}} and observe the WARN log messages regarding build tools version. These appear at the beginning of the output, following the banner. The app builds as usual (due to the -b flag, it does not launch the emulator or install to a device)\r\n5. Rename the copied build tools folder to something lower than the lowest version (e.g. 12.1.0).\r\n6. From the CLI, {{ti build -p android -b}} and observe no specific log messages regarding build tools version.\r\n", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2015-02-18T19:18:04.000+0000", "updated": "2015-02-18T19:18:04.000+0000" }, { "id": "344528", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-02-27T04:02:35.000+0000", "updated": "2015-02-27T04:02:35.000+0000" }, { "id": "354468", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nWe should get this warning if the build tools are newer than the supported range & the build should continue:\r\n{code}\r\n[WARN] : Android Build Tools 22.0.1 are too new and may or may not work with Titanium.\r\n[WARN] : If you encounter problems, select a supported version with:\r\n[WARN] : appc ti config android.buildTools.selectedVersion ##.##.##\r\n[WARN] : where ##.##.## is a version in /Users/lokeshchoudhary/Desktop/android-sdk-macosx/build-tools that is <=22.x\r\n{code}\r\nThe log shows 22.0.1 as I had manually edited the name of the folder but the tools are indeed 22.0.1\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.1.0.201505071004\r\nTi SDK : 4.1.0.v20150604094312\r\nCLI : 4.0.2-rc2\r\nAlloy : 1.6.0\r\nMAC Yosemite : 10.10.3\r\nAppc npm : 4.0.0\r\nAppc CLI : 4.0.1\r\nNode: v0.10.37\r\nNexus 5 - Android 5.1.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-06-05T21:00:58.000+0000", "updated": "2015-06-05T21:00:58.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }