[TIMOB-27939] Android: Module builds should auto-download NDK r21c by default if needed
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2020-06-09T15:27:17.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 9.0.3 |
| Components | Android |
| Labels | android, build, gradle, modules, ndk |
| Reporter | Joshua Quick |
| Assignee | Joshua Quick |
| Created | 2020-06-04T23:05:57.000+0000 |
| Updated | 2020-06-09T15:27:17.000+0000 |
Description
*Summary:*
When doing a module build, Titanium will auto-download NDK r20b (aka: 20.1.5948944) by default if NDK installations were found on the system.
The default should be updated to NDK r21c (aka: 21.2.6472646).
https://github.com/android/ndk/wiki/Changelog-r21#r21c
*Reason:*
The macOS distribution of the Android NDK r21c tools have been "notarized" by Google. This means module builds will no longer display several security popups on macOS Catalina.
*To-Do:*
Update the
android.ndkVersion here...
https://github.com/appcelerator/titanium_mobile/blob/master/android/templates/module/generated/build.gradle
PR (master): https://github.com/appcelerator/titanium_mobile/pull/11755 PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11756
Closing ticket, Fix verified SDK version 9.0.3.v20200609060523 and SDK version 9.1.0.v20200609061322 Test and other information can be found at: PR (master): https://github.com/appcelerator/titanium_mobile/pull/11755 PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11756