{ "id": "81111", "key": "TIMOB-5428", "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": "12080", "description": "", "name": "Sprint 2011-40", "archived": true, "released": true, "releaseDate": "2011-10-10" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-05T13:04:13.000+0000", "created": "2011-10-04T14:00:55.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "jni", "module", "modules", "ndk", "stage" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2013-12-26T13:56:27.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": "If a module is being used by an application and that module has native library files in it (libs/armeabi/*.so), those library files are properly packaged into the app's .apk file only when a full build (i.e.,the first build) is done. Not when incremental builds are done. This leads to the app crashing when it tries to access anything in the module that calls into the native library.\r\n\r\nReproduce:\r\n\r\n* Download and unzip the timob5428.zip here.\r\n* Import the project into Titanium Studio.\r\n* Build/release to emulator or device.\r\n* When the app loads you should see a label that says \"Hello from JNI, My Friend!\". That means it has successfully loaded a native library (.so file) that contains a method named {{stringFromJNI}}.\r\n* Build/release the app again without making any changes. This time it will crash when it's loading.\r\n\r\nSample stack trace:\r\n\r\nhttp://pastie.org/2640420", "attachment": [ { "id": "23321", "filename": "timob5428.zip", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-04T15:01:02.000+0000", "size": 2337931, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: Module native library files (*.so) only packaged on full build", "creator": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium 1.7.2 on any platform", "comment": { "comments": [ { "id": "167954", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Pull request ready:\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/524", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-10-04T15:02:30.000+0000", "updated": "2011-10-04T15:02:30.000+0000" }, { "id": "168193", "author": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.\n\nFix verified on Nexus One 2.2.2 with SDK 1.8.0.v20111006001414", "updateAuthor": { "name": "avaghti", "key": "avaghti", "displayName": "Alan Vaghti", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-06T17:33:58.000+0000", "updated": "2011-10-06T17:33:58.000+0000" }, { "id": "285846", "author": { "name": "mecid.kaya", "key": "mecid.kaya", "displayName": "ahmet mecid kaya", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nWhen I build my titanium module I did not get any error and return succesfull.But when I call in my android app, it doesnt open. Then I saw that my module doesnt create .so files How can i solve that ? \r\n\r\nThanks", "updateAuthor": { "name": "mecid.kaya", "key": "mecid.kaya", "displayName": "ahmet mecid kaya", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-26T13:56:27.000+0000", "updated": "2013-12-26T13:56:27.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }