{ "id": "176104", "key": "TIMOB-28377", "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": "21199", "description": "", "name": "Release 10.0.1", "archived": false, "released": true, "releaseDate": "2021-07-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-06-22T15:30:58.000+0000", "created": "2021-03-07T21:45:14.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "build", "ndk" ], "versions": [ { "id": "21052", "description": "", "name": "Release 9.3.0", "archived": false, "released": true, "releaseDate": "2020-12-14" } ], "issuelinks": [ { "id": "59253", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "174806", "key": "TIMOB-27801", "fields": { "summary": "Android: Building the SDK should auto-download NDK if not installed", "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": "Low", "id": "4" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-06-22T15:30:58.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" } ], "description": "*Summary:*\r\nAs of Titanium 9.3.0, the following deprecation warning will be logged when build an Android app, module, or the Titanium SDK.\r\n{code}\r\n> Configure project :titanium\r\nWARNING: NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.3.6528147] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir\r\nNDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [21.3.6528147] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir\r\n{code}\r\n\r\n*Reason:*\r\nGoogle has deprecated the \"nki.dir\" property in the \"local.properties\" file generated by Titanium.\r\n\r\n*Solution:*\r\nTo be done on our end...\r\n* Remove our usage of the \"ndk.dir\" property.\r\n* Drop support of \"ANDROID_NDK\" environment variable for setting the NDK path.\r\n* Drop support of {{appc ti config}} setting {{android.ndkPath}}.\r\n* Do *NOT* set \"build.gradle\" setting \"android.ndkVersion\" in our template and use gradle's default NDK version.\r\n\r\nAllow app/module developer to override NDK version used via a custom \"build.gradle\" file as shown below.\r\n{code:groovy}\r\n// build.gradle\r\nandroid {\r\n\tndkVersion '21.2.6472646'\r\n}\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Remove deprecated usage of \"ndk.dir\" in \"local.properties\" file", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "458361", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We're already aware of this. Unfortunately, it's not that simple which is why we haven't done anything about it \"yet\". Gradle won't automatically download the NDK version we specify if a different NDK version is installed (unlike how everything else works). Gradle will only download the NDK it if you have no NDK installed at all. It's an ugly problem.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-03-08T23:27:09.000+0000", "updated": "2021-04-10T03:14:27.000+0000" }, { "id": "458559", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've confirmed that the newest Android gradle build tool now supports downloading/installing an NDK version if a different NDK version is already installed... unless the NDK you want is a major version higher than the default version gradle wants to use (ie: won't currently download NDK 22.x.x since current gradle version defaults to NDK 21.x.x). But this is a lot better than what it was before since it allows downloading older NDK versions upon request.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-10T03:17:11.000+0000", "updated": "2021-04-10T03:17:11.000+0000" }, { "id": "458560", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/12711", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-04-10T03:39:28.000+0000", "updated": "2021-04-10T03:39:28.000+0000" }, { "id": "458807", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "master and 10_0_X backport merged", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2021-06-22T15:30:56.000+0000", "updated": "2021-06-22T15:30:56.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }