{ "id": "152853", "key": "TIMOB-19898", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-16T01:43:11.000+0000", "created": "2015-11-09T23:12:13.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-11-17T20:06:03.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" } ], "description": "When trying to build to a Nexus 5x I get the following:\r\n\r\n{code}\r\n[ERROR] The device \"Nexus 5X\" does not support the desired ABIs \"armeabi\", \"armeabi-v7a\", \"x86\"\r\n[ERROR] Supported ABIs: arm64-v8a, arm64-v8a,armeabi-v7a,armeabi, armeabi-v7a,armeabi, arm64-v8a\r\n\r\nYou need to add at least one of the device's supported ABIs to the tiapp.xml\r\n\r\n\r\n \r\n \r\n armeabi,armeabi-v7a,x86,arm64-v8a,arm64-v8a,armeabi-v7a,armeabi,armeabi-v7a,armeabi,arm64-v8a\r\n \r\n\r\n{code}\r\n\r\nIf I use ANY of the “supported ABI’s” mentioned in that message, in the tiapp.xml, they do not work and get the following:\r\n\r\n{code}\r\n[ERROR] Invalid ABI \"arm64-v8a\"\r\n\r\nValid ABIs:\r\n armeabi\r\n armeabi-v7a\r\n x86\r\n{code}\r\n\r\nIf I enter ANY of those “valid ABI’s”, I get the previous message saying NExus 5x doesn’t support it.\r\n\r\nI can confirm that the Nexus 5x has the following: `ro.product.cpu.abi=arm64-v8a`\r\n\r\nHere is what a ti info provides on this device:\r\n\r\n{code}\r\n{\r\n \"id\": \"00ab2d5a616eadc9\",\r\n \"state\": \"device\",\r\n \"sdk\": \"23\",\r\n \"release\": \"6.0\",\r\n \"model\": \"Nexus 5X\",\r\n \"brand\": \"google\",\r\n \"name\": \"Nexus 5X\",\r\n \"device\": \"bullhead\",\r\n \"abi\": [\r\n \"arm64-v8a\",\r\n \"arm64-v8a,armeabi-v7a,armeabi\",\r\n \"armeabi-v7a,armeabi\",\r\n \"arm64-v8a\"\r\n ],\r\n \"manufacturer\": \"LGE\",\r\n \"emulator\": false\r\n}\r\n{code}", "attachment": [], "flagged": false, "summary": "Cannot build on a Nexus5x device", "creator": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "subtasks": [], "reporter": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "environment": null, "closedSprints": [ { "id": 531, "state": "closed", "name": "2015 Sprint 23 Tooling", "startDate": "2015-11-10T23:44:28.164Z", "endDate": "2015-11-21T02:44:00.000Z", "completeDate": "2015-11-23T20:21:44.795Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "369485", "author": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "body": "This isn't new. This came up with the Nexus 9 nearly a year ago.\r\nSolution then was to hack the _build.js to not block the building based upon hardcoded validABIs.\r\n\r\nAs of the date of this posting, hard coded values at line 72, comparison starts around line 1226.\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "sfeather", "key": "sfeather", "displayName": "Stephen Feather", "active": true, "timeZone": "America/New_York" }, "created": "2015-11-10T01:00:05.000+0000", "updated": "2015-11-10T01:00:05.000+0000" }, { "id": "369487", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~sfeather] It's due to a typo... 1 little character. Fix is coming as soon as I have 1 minute, cuz that's exactly how long it'll take to fix. :)", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-11-10T01:08:10.000+0000", "updated": "2015-11-10T01:08:10.000+0000" }, { "id": "369714", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "We read the build properties of the device's OS and search for any line that contains the string {{ro.product.cpu.abi}}. The problem is newer devices have introduced new properties that we now match multiple times causing the discovered ABIs to be whack.\r\n\r\nHere's an example:\r\n\r\n{code}\r\nro.product.cpu.abi=arm64-v8a\r\nro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi\r\nro.product.cpu.abilist32=armeabi-v7a,armeabi\r\nro.product.cpu.abilist64=arm64-v8a\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-11-11T08:47:50.000+0000", "updated": "2015-11-11T08:47:50.000+0000" }, { "id": "369715", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "TiSDK PR: https://github.com/appcelerator/titanium_mobile/pull/7423\r\n\r\nTo test, plug in a Nexus 5x and run {{ti info -t android}}. Look in the output for the \"devices\" section and verify the device's ABIs is indeed an array of strings and that the value looks sane.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-11-11T08:49:04.000+0000", "updated": "2015-11-11T08:49:04.000+0000" }, { "id": "370288", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "Just tested on my Nexus 5x:\r\n\r\n{code}\r\nNexus 5X\r\n ID = 00ab2d5a616eadc9\r\n State = device\r\n SDK Version = 6.0 (android-23)\r\n ABIs = arm64-v8a, arm64-v8a,armeabi-v7a,armeabi, armeabi-v7a,armeabi, arm64-v8a\r\n{code}\r\n\r\nNot sure why there are duplicated ABI's but it does indeed compile and run now. (golf clap) [~cbarber] ", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2015-11-14T21:52:48.000+0000", "updated": "2015-11-14T21:52:48.000+0000" }, { "id": "370289", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~rblalock] There should not be duplicates. I should split each list of ABI's by a comma, then insert unique ones one. Since you have a device, can you please fix my code?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-11-15T00:21:34.000+0000", "updated": "2015-11-15T00:21:34.000+0000" }, { "id": "370290", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "[~cbarber] I just wrapped all your code in this and it works:\r\n\r\n{code}\r\n// MAGIC:\r\nBlalock(function () {\r\n// Chris Barber's code here\r\n});\r\n{code}\r\n\r\n\r\n(I'll look at it)", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2015-11-15T00:35:03.000+0000", "updated": "2015-11-15T00:35:03.000+0000" }, { "id": "370291", "author": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "body": "Ok the dup's were my mistake: When running ti info, I was using GA but when building the app I was using the SDK with your fix. Ensured I was running ti info using your fix and it properly displays:\r\n\r\n{code}\r\n ABIs = arm64-v8a, armeabi-v7a, armeabi\r\n{code}", "updateAuthor": { "name": "rblalock", "key": "rblalock", "displayName": "Rick Blalock", "active": false, "timeZone": "America/Havana" }, "created": "2015-11-15T00:49:59.000+0000", "updated": "2015-11-15T00:50:10.000+0000" }, { "id": "370304", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed. PR merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-16T01:42:47.000+0000", "updated": "2015-11-16T01:42:47.000+0000" }, { "id": "370431", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "5_1_X Backport: https://github.com/appcelerator/titanium_mobile/pull/7449", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-11-16T20:41:11.000+0000", "updated": "2015-11-16T20:41:11.000+0000" }, { "id": "370563", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\nWe can successfully build to Nexus 5X device also ABI's for the device shows : {code}arm64-v8a, armeabi-v7a, armeabi{code}\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.4.0.201511101919\r\nTi SDK : 5.1.0.v20151116164430\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.26\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.1\r\nAppc CLI : 5.1.0-60\r\nNode: v0.10.37\r\nNexus 5X - Android 6.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-17T20:05:58.000+0000", "updated": "2015-11-17T20:05:58.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }