{ "id": "146575", "key": "TIMOB-18778", "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-04-10T13:09:01.000+0000", "created": "2015-04-03T00:07:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "beta4", "qe-4.0.0" ], "versions": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "issuelinks": [ { "id": "47025", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "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 } } } }, { "id": "47449", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "146997", "key": "CLI-556", "fields": { "summary": "Alert user if Android SDK version is below supported minimum", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-10-18T21:37:27.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": "h5.Steps To Reproduce:\r\n1. Make sure you do not have android API 21 installed on the machine. You can have all other android API's installed including API 22.\r\n2. Build an android app to device/emulator.\r\n\r\nh5.Actual Results:\r\n1. The build fails at packaging stage.\r\n2. If API 21 is installed build succeeds.\r\n3. If API 22 is installed & API 21 is not installed, still the build fails.\r\n4. We see that if API 21 is not installed & API 22 is installed the build targets sdk 19 rather than 22.\r\n\r\nNOTE : Logs attached for reference.\r\n\r\nh5. Expected Results:\r\n1. The build should succeed if android API 21 is not installed.", "attachment": [ { "id": "54793", "filename": "logs.txt", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-03T00:07:34.000+0000", "size": 64507, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Update latest supported build tools version to 22", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 4.0.0.201504012204\r\nTi SDK : 4.0.0.Beta2\r\nCLI : 4.0.0-beta3\r\nAlloy : 1.6.0-beta2\r\nMAC Yosemite : 10.10.2\r\nAppc npm : 0.3.37\r\nAppc CLI : 0.2.226", "closedSprints": [ { "id": 373, "state": "closed", "name": "2015 Sprint 07 Tooling", "startDate": "2015-03-28T00:00:53.618Z", "endDate": "2015-04-25T00:00:00.000Z", "completeDate": "2015-04-13T16:16:20.402Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "348370", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We need to update https://github.com/appcelerator/titanium_mobile/blob/master/android/package.json#L22 to fix this.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-03T00:15:15.000+0000", "updated": "2015-04-03T00:15:15.000+0000" }, { "id": "348371", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lokeshchdhry] please try deleting everything other than 22 and try again.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-03T00:15:52.000+0000", "updated": "2015-04-03T00:15:52.000+0000" }, { "id": "348377", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] \r\n1. If I remove all API's except API 22 then I get error from studio \"You don't have android 2.3.3 installed\".\r\n2. If I have android 2.3.3 (API 10) & API 22. The build process targets API 10 & the build process fails with the same errors as in the logs attached.\r\n{code}\r\n[INFO] : Deploy type: development\r\n[INFO] : Building for target: emulator\r\n[INFO] : Building for emulator: Lollipop Preview - Nexus 5 - 5.0.0 - API 21 - 1080x1920\r\n[INFO] : Targeting Android SDK: 10\r\n[INFO] : Building for the following architectures: armeabi, armeabi-v7a, x86\r\n[INFO] : Signing with keystore: /Users/lokeshchoudhary/Library/Application Support/Titanium/mobilesdk/osx/4.0.0.Beta2/android/dev_keystore (tidev)\r\n{code}", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-03T00:27:43.000+0000", "updated": "2015-04-03T00:27:43.000+0000" }, { "id": "348833", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Chris, could you please look at this when available?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-07T21:13:22.000+0000", "updated": "2015-04-07T21:13:22.000+0000" }, { "id": "348835", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~ingo] Do we support API 22? If so, then we need to update Android's package.json.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-04-07T21:20:07.000+0000", "updated": "2015-04-07T21:20:07.000+0000" }, { "id": "348836", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~cbarber] yes. Though I believe the is also a logic error in the code.\r\n\r\nAssume maximum of 21:\r\n* 19 and 22 installed, use 22\r\n* 22 installed, use 22\r\n* 19 installed, fail\r\n* 19, 21, 22 installed, use 21\r\n\r\nWe should err on the side of using the newest version that we think should work.\r\n", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-04-07T21:25:25.000+0000", "updated": "2015-04-07T21:25:25.000+0000" }, { "id": "348888", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "timob master pr: https://github.com/appcelerator/titanium_mobile/pull/6773\r\ntimob 4_0_X pr: https://github.com/appcelerator/titanium_mobile/pull/6774", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-04-08T04:43:54.000+0000", "updated": "2015-04-08T04:43:54.000+0000" }, { "id": "349165", "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-04-10T13:08:53.000+0000", "updated": "2015-04-10T13:08:53.000+0000" }, { "id": "351697", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.0.0.201505042041\r\nTi SDK : 4.0.0RC2\r\nCLI : 4.0.0-beta8\r\nAlloy : 1.6.0-beta4\r\nMAC Yosemite : 10.10.3\r\nAppc npm : 0.3.55\r\nAppc CLI : 0.2.279\r\nNode: v0.10.37", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-05-05T21:26:12.000+0000", "updated": "2015-05-05T21:26:12.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }