[TIMOB-27771] Android: Hyperloop builds fail if NDK not installed as of 9.0.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-02-25T18:40:29.000+0000 |
Affected Version/s | Release 9.0.0, Hyperloop 5.0.0 |
Fix Version/s | Release 9.0.0 |
Components | Android, Hyperloop |
Labels | android, hyperloop, ndk, regression |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2020-02-19T16:51:34.000+0000 |
Updated | 2020-02-25T18:40:29.000+0000 |
Description
_(This issue was caught before 9.0.0.GA.)_
Description
When building a hyperloop application without an NDK installed the build errors with the below, we just need to do a defensive check when we're looking up the ndk path
[ERROR] TypeError: Cannot read property 'path' of null
at HyperloopAndroidBuilder.build (/Users/awam/Library/Application Support/Titanium/modules/android/hyperloop/5.0.0/hooks/hyperloop.js:127:106)
PR (hyperloop.next): https://github.com/appcelerator/hyperloop.next/pull/333
I merged above PR a little too quickly. It requires the below changes as well. PR (hyperloop.next): https://github.com/appcelerator/hyperloop.next/pull/335
PR (master): https://github.com/appcelerator/titanium_mobile/pull/11486 PR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11487
FR Passed. PR's Merged.
Verified the fix with SDK 9.0.0.v20200224113949. Closing.