{ "id": "173123", "key": "AC-6169", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2019-03-19T17:24:16.000+0000", "created": "2019-03-13T14:54:38.000+0000", "labels": [ "aar", "android", "hyperloop", "jni", "libraries" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-19T17:42:53.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." }, { "id": "15000", "name": "Hyperloop" } ], "description": "Hello,\r\n\r\nIn my app, i'm including a module which contains .aar library which herself contains .so libraries in /jni/armeabi-v7a folder.\r\nMy problem is that when i compile my module, the .so libraries are not copied in the resulting .zip file of the module (in the libs folder), and of course app crashes when launched.\r\nI thought it was a problem of folder naming beaucse initially my .so files was on armeabi folder and i saw that its deprecated and we can't use armeabi anymore, so i renamed armeabi to armeabi-v7a in my library and recompiled the .aar, included it in my project, recompiled the module but libs are still not present.\r\n\r\nDo you have an idea of what is going wrong ?\r\nThanks in advance\r\n\r\nEDIT : I forgot to mention that i already included in my manifest file the following line : \r\narchitectures: arm64-v8a armeabi-v7a x86", "attachment": [], "flagged": false, "summary": ".so libs from .aar third part libraries not copied when compiling module", "creator": { "name": "libanez", "key": "libanez", "displayName": "libanez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "libanez", "key": "libanez", "displayName": "libanez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 7.5.0.GA\r\nHyperloop 2.2.3", "comment": { "comments": [ { "id": "446808", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Can you please share a sample project for us to test the issue on our end? Please provide a list of steps to follow for successful regeneration. In the meantime can you follow the guide here https://stackoverflow.com/questions/39278273/how-to-add-aar-in-titanium-module/39957329#39957329 ? Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-03-13T18:53:34.000+0000", "updated": "2019-03-13T18:53:34.000+0000" }, { "id": "446967", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nDid you find our last reply helpful for your progress? Let us know the updates from your end.\r\n\r\nThanks", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-19T09:16:03.000+0000", "updated": "2019-03-19T09:16:03.000+0000" }, { "id": "446980", "author": { "name": "libanez", "key": "libanez", "displayName": "libanez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Rakhi,\r\nFor those who encounter the same issue, i resolved the problem (after seeing Titanium SDK source code) :\r\nThe problem was that on my .aar i had only a /jni/armeabi-v7a folder but (i guess because i have 3 architectures : arm64-v8a armeabi-v7a x86, in the manifest of my module) Titanium SDK was throwing an Exception if one of the folder was not found. So .so files was not copied after SDK didn't found first folder (arm64-v8a).\r\n\r\nHope it can help someone else", "updateAuthor": { "name": "libanez", "key": "libanez", "displayName": "libanez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-19T17:41:23.000+0000", "updated": "2019-03-19T17:42:53.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }