{ "id": "174749", "key": "TIMOB-27771", "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": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-02-25T18:40:29.000+0000", "created": "2020-02-19T16:51:34.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "hyperloop", "ndk", "regression" ], "versions": [ { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" }, { "id": "20988", "name": "Hyperloop 5.0.0", "archived": false, "released": true, "releaseDate": "2020-02-05" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2020-02-25T18:40:29.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": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "_(This issue was caught before 9.0.0.GA.)_\r\n\r\nh5.Description\r\n\r\nWhen 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\r\n\r\n{code}\r\n[ERROR] TypeError: Cannot read property 'path' of null\r\n at HyperloopAndroidBuilder.build (/Users/awam/Library/Application Support/Titanium/modules/android/hyperloop/5.0.0/hooks/hyperloop.js:127:106)\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Move your NDK away from the usual location (~/Library/Android/sdk/ndk/) so the CLI doesn't autodetect and remove it from the config with {{appc ti config --remove android.ndkPath\r\n2. Build the hyperloop-examples app\r\n\r\nh5.Actual\r\n\r\nAbove error\r\n\r\nh5.Expected\r\n\r\nNo error", "attachment": [], "flagged": false, "summary": "Android: Hyperloop builds fail if NDK not installed as of 9.0.0", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "SDK: 9.0.0.v20200214143652\r\nHyperloop 5.0.0", "closedSprints": [ { "id": 1180, "state": "closed", "name": "2020 Sprint 4", "startDate": "2020-02-17T09:48:41.834Z", "endDate": "2020-02-28T09:48:00.000Z", "completeDate": "2020-02-28T17:07:21.344Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454342", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR (hyperloop.next): https://github.com/appcelerator/hyperloop.next/pull/333", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-19T16:54:57.000+0000", "updated": "2020-02-19T23:54:27.000+0000" }, { "id": "454355", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I merged above PR a little too quickly. It requires the below changes as well.\r\nPR (hyperloop.next): https://github.com/appcelerator/hyperloop.next/pull/335\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-19T23:55:17.000+0000", "updated": "2020-02-19T23:55:17.000+0000" }, { "id": "454356", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/11486\r\nPR (9.0.x): https://github.com/appcelerator/titanium_mobile/pull/11487\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-20T00:08:23.000+0000", "updated": "2020-02-20T00:08:23.000+0000" }, { "id": "454401", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nPR's Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-24T19:39:11.000+0000", "updated": "2020-02-24T19:39:11.000+0000" }, { "id": "454433", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix with SDK 9.0.0.v20200224113949.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-02-25T18:40:01.000+0000", "updated": "2020-02-25T18:40:01.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }