{ "id": "172022", "key": "TIMOB-26272", "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": "20220", "name": "Release 7.3.1", "archived": false, "released": true, "releaseDate": "2018-08-30" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2018-08-08T18:31:16.000+0000", "created": "2018-08-07T12:49:40.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20115", "name": "Release 7.3.0", "archived": false, "released": true, "releaseDate": "2018-08-17" } ], "issuelinks": [ { "id": "56719", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "171795", "key": "TIMOB-26130", "fields": { "summary": "Android: Fix compatibility with NDK 12+", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-13T17:33:16.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": "Not sure why, but building 7_3_X locally with {{node scons.js cleanbuild}} currently failed. Initially reported by [~rlustemberg] [via Slack|https://ti-slack.slack.com/archives/C1BT2PKU3/p1533645190000091], I was just able to reproduce it.\r\n\r\n*EDIT*: It may be because of a recent Android Studio update, because it tries to build with API 14?! I have 26 and 27 installed.\r\n{code}\r\n[exec] Android NDK: Found platform level in /Users/hknoechel/Documents/titanium_mobile/android/runtime/v8/project.properties. Setting APP_PLATFORM to android-10.\r\n[exec] Android NDK: android-10 is unsupported. Using minimum supported version android-14.\r\n[exec] Android NDK: WARNING: APP_PLATFORM android-14 is higher than android:minSdkVersion 13 in /Users/hknoechel/Documents/titanium_mobile/android/runtime/v8/AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-14. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.\r\n{code}", "attachment": [ { "id": "65417", "filename": "log.txt", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-08-07T12:52:17.000+0000", "size": 332575, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Building 7_3_X from source fails due to Android NDK error", "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": "NDK r17b\r\nSDK 7_3_X\r\nNode v8.11.2", "comment": { "comments": [ { "id": "440556", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Right. Setting the target to 10 is too low.\r\n\r\nThe Android NDK built \"project.properties\" files should have their \"target\" changed to the min API Level we support, which is 16. This tells the Android NDK system which version of Android system .so libraries to link with.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-07T17:33:12.000+0000", "updated": "2018-08-07T17:33:12.000+0000" }, { "id": "440566", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We've isolated the issue. We need to back-port the following to 7.3.1. That'll solve it.\r\nhttps://github.com/appcelerator/titanium_mobile/commit/9efc6658510979171cad22fe17d84fd8e172db65#diff-3e4393dccf58a1d208359bc5823e0ace\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-08T02:04:46.000+0000", "updated": "2018-08-08T02:04:46.000+0000" }, { "id": "440591", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Flagging as duplicate of [TIMOB-26130] which fixed it in 7.4.0.\r\nScheduled back-port of fix to 7.3.1.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-08T18:31:00.000+0000", "updated": "2018-08-08T18:31:00.000+0000" }, { "id": "440683", "author": { "name": "rlustemberg", "key": "rlustemberg", "displayName": "Richard Lustemberg", "active": true, "timeZone": "Europe/Berlin" }, "body": "I've noticed that the fix from 7.4.0 was backported and then reverted. If I build from the backported merged commit, the build is successful. Where there side effects which caused the reversal? \r\n", "updateAuthor": { "name": "rlustemberg", "key": "rlustemberg", "displayName": "Richard Lustemberg", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-08-13T08:35:16.000+0000", "updated": "2018-08-13T08:35:16.000+0000" }, { "id": "440701", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The plan is to backport this change into 7.3.1, not 7.3.0.\r\nWe got a little ahead of ourselves and merged it in too early before the 7.3.0 release.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-13T17:33:16.000+0000", "updated": "2018-08-13T17:33:16.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }