{ "id": "172452", "key": "AC-5980", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "10000", "description": "", "name": "Done" }, "resolutiondate": "2018-10-19T22:20:23.000+0000", "created": "2018-10-17T23:10:31.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "56986", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "172598", "key": "TIMOB-26548", "fields": { "summary": "Android: Unable to specify x86 as an abi in tiapp for production builds", "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": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-11-12T15:43:42.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "Just upgraded my app from Ti SDK 7.1.0.GA to SDK 7.4.0.GA and when I publish the app in Google Play I get a warning saying that x86 support is removed in the new APK and that OpenGL 2.0+ is now required (vs 1.0 before). \r\n\r\nI compiled the app with minSdkVersion 16 and targetSdkVersion 26. Could not find anything about x86 support being removed in the sdk release notes. Is this intended?\r\n\r\nScreenshot: https://imgur.com/a/EcdRleQ", "attachment": [ { "id": "65731", "filename": "screencapture.png", "author": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-17T23:09:18.000+0000", "size": 281043, "mimeType": "image/png" } ], "flagged": false, "summary": "x86 support removed in Ti SDK 7.4.0", "creator": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "442751", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~davidbenko] x86 was removed in TIMOB-26006, you can add the below to your tiapp to include it again\r\n\r\n{code}\r\n\r\n armeabi-v7a,arm64-v8a,x86\r\n\r\n{code}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-10-18T09:54:13.000+0000", "updated": "2018-10-18T09:54:13.000+0000" }, { "id": "442778", "author": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ewan Harris ok, thank you", "updateAuthor": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-19T00:07:21.000+0000", "updated": "2018-10-19T00:07:21.000+0000" }, { "id": "442882", "author": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Using armeabi-v7a,arm64-v8a,x86 I got the following error:\r\n\r\n[ERROR] Invalid ABI \"x86\"\r\n\r\nValid ABIs:\r\n arm64-v8a\r\n armeabi-v7a\r\n", "updateAuthor": { "name": "davidbenko", "key": "davidbenko", "displayName": "David Benko", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-10-23T18:54:00.000+0000", "updated": "2018-10-23T18:54:00.000+0000" }, { "id": "443230", "author": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "body": "Is there a solution for using x86? or is this just not supported any longer ? ", "updateAuthor": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "created": "2018-11-02T10:56:44.000+0000", "updated": "2018-11-02T10:56:44.000+0000" }, { "id": "443493", "author": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Getting the same error as David Benko above. We were using the x86 slice generated with our application apk in Titanium 7.1.0 to install the apk into x86 emulators and perform automated testing and this is causing us problems for our testing using Appium.\r\n\r\nEwan Harris - is there something required when building Titanium 7.4.2 via scons that is required to reenable x86 support? I added the abi directive for Android but getting the \"Invalid ABI x86\" message as above.\r\n\r\nThe application size has gone from 37mb under Titanium 7.1.0 to 31mb under 7.4.2 but we wanted that x86 slice... so it is smaller but the functionality is required for us.", "updateAuthor": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2018-11-12T14:45:26.000+0000", "updated": "2018-11-12T14:47:00.000+0000" }, { "id": "443494", "author": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Ok I figured out how to revert it - this line with \"x86\" in _build.js is removing it from production builds:\r\n\r\n{{\tif (this.deployType === 'production') {\r\n\t\t// by default, remove 'x86' from production builds\r\n\t\t// 'x86' devices are scarce; this is predominantly used for emulators\r\n\t\t// we can save 16MB+ by removing this from release builds\r\n\t\tthis.abis.splice(this.abis.indexOf('x86'), 1);\r\n\t}}}\r\n\r\nIt is located here:\r\n$HOME/Library/Application\\ Support/Titanium/mobilesdk/osx/7.4.2.GA/android/cli/commands/_build.js\r\n\r\nI also set the property of kroll.v8.build.x86 to 1:\r\n\t\t\r\nIn android/build/common.xml (it was a zero-length string before) but not sure if that was also required. I rebuilt the 7.4.2 framework with this flag set.\r\n\r\nThe problem is that if you are doing production build, it always removes the x86 from the list of available abis and then displays an error, even if the user explicitly uses the abi directive in tiapp.xml - the code could look to see if the user specified it and if not, then remove it.\r\n", "updateAuthor": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2018-11-12T15:17:52.000+0000", "updated": "2018-11-12T15:17:52.000+0000" }, { "id": "443495", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Sorry for the time taken to realise this one folks, I've just filed TIMOB-26548 to fix this issue. If you watch that ticket you'll be able to see the PR with the changes so that you can apply them yourself if you wish\r\n\r\n[~narbs], looks like we got the conclusion at the same time! :)", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-11-12T15:26:21.000+0000", "updated": "2018-11-12T15:27:33.000+0000" }, { "id": "443499", "author": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "body": "Great! Thanks for the quick response. It will be a big help to other people needing this", "updateAuthor": { "name": "narbs", "key": "narbs", "displayName": "Christian Clare", "active": true, "timeZone": "Australia/Brisbane" }, "created": "2018-11-12T15:43:42.000+0000", "updated": "2018-11-12T15:43:42.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }