{ "id": "171282", "key": "TIMOB-25851", "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": [], "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-08-15T03:27:44.000+0000", "created": "2018-03-09T16:59:22.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "CLI", "SDK", "build" ], "versions": [ { "id": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "issuelinks": [ { "id": "56418", "type": { "id": "10011", "name": "Includes", "inward": "is included by", "outward": "includes" }, "inwardIssue": { "id": "171284", "key": "TIMOB-25852", "fields": { "summary": "Android: Target API Level 26/27 by default", "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": "56362", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "171284", "key": "TIMOB-25852", "fields": { "summary": "Android: Target API Level 26/27 by default", "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": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-15T03:27:44.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": "When compiling an app using Build Tools/SDK 26 you get the following warning:\r\n\r\n{code}\r\nBuilding with Android SDK API 26 which hasn't been tested against Titanium SDK 7.0.2\r\n{code}\r\n\r\nHowever, the docs say 26 is supported. \r\n\r\nAlso, whenever the right SDK cannot be found this error is triggered\r\n{code}[ERROR] : Unable to find a suitable installed Android SDK that is API >=23 and <=25{code}\r\n\r\nShould also be 26\r\n\r\n*Expected Result*\r\nNo warning to be given by CLI ", "attachment": [], "flagged": false, "summary": "CLI complains about Android SDK 26 not supported while docs confirm it", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": "TiSDK 7.0.2\r\nMacOS", "comment": { "comments": [ { "id": "435431", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "If you're referring to the Android SDK \"build-tools\" version, yes I'm aware of this issue. The CLI is wrongly selecting the newest build-tools version instead of selecting the range we officially support. We chose not to \"fix\" this because it would have caused build failures to customers who don't have an older build-tools version that we do support.\r\n\r\nThis is the warning I get for using a build-tools version that's too new...\r\n{code}\r\n[WARN] : Android Build Tools 27.0.3 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/jquick2/Library/Android/sdk/build-tools that is 26.x\r\n2018-3-9 10:37:46\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.12.6\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 8.9.3\r\n npm Version = 5.5.1\r\nTitanium CLI\r\n CLI Version = 5.0.14\r\nTitanium SDK\r\n SDK Version = 7.2.0\r\n SDK Path = /Users/jquick2/Library/Application Support/Titanium/mobilesdk/osx/7.2.0\r\n Target Platform = android\r\n{code}\r\n\r\nFor your info, build-tools v26 and higher would have caused a build failure in Titanium 7.0.2 with the usage of proguard and APK multidexing, but luckily we caught it in time before release.\r\nhttps://github.com/appcelerator/titanium_mobile/pull/9694#issuecomment-356762749\r\n\r\nFor the next version of Titanium, we should update the \"build-tools\" versions supported, but also look into restricting the CLI to the officially supported version range as well.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T18:45:43.000+0000", "updated": "2018-03-09T18:46:53.000+0000" }, { "id": "435436", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~jquick] I believe Rene is referring to the log [here|https://github.com/appcelerator/titanium_mobile/blob/c859b5ebabc19e3568caf191de8d6ae6a79b3d34/android/cli/commands/_build.js#L1260-L1266]. which is generated off the android SDK range set in [android/package.json|https://github.com/appcelerator/titanium_mobile/blob/e3df11d022b527841eb5baf8cfeecbeb9a89c08b/android/package.json#L24]. I can't remember what the requirements are for us to bump the version range up on this", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-03-09T22:11:57.000+0000", "updated": "2018-03-09T22:11:57.000+0000" }, { "id": "435439", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-09T22:19:04.000+0000", "updated": "2018-03-09T22:19:04.000+0000" }, { "id": "440782", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Full support for API Level 26/27 (aka: Android 8) was added to Titanium 7.3.0.\r\nClosing ticket.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-15T03:26:36.000+0000", "updated": "2018-08-15T03:26:36.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }