{ "id": "94505", "key": "AC-2803", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-17T09:11:09.000+0000", "created": "2012-07-06T08:01:19.000+0000", "labels": [ "android", "jni", "module" ], "versions": [], "issuelinks": [ { "id": "21261", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "101830", "key": "TIMOB-11763", "fields": { "summary": "Android module with JNI won't build", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34046", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "93536", "key": "AC-3086", "fields": { "summary": "Cannot use JNI for a native Android Module", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "34047", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "101830", "key": "TIMOB-11763", "fields": { "summary": "Android module with JNI won't build", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:47:43.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": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "Hi,\r\n\r\nI'm trying to build an Android module with some JNI bindings, but it doesn't build. Build fails in 'ndk.build.local', BTW, it works ok with 2.0.2.GA.\r\nIt seems like it's trying to find Android.mk inside a 'jni' folder inside the temp folder, look the log:\r\n\r\n [mkdir] Created dir: /Users/yellow/src/Titanium-JNI-demo/build/generated/jni-local\r\n [copy] Copying 2 files to /Users/yellow/src/Titanium-JNI-demo/build/generated/jni-local\r\n [mkdir] Created dir: /var/folders/2w/6ng_21751l9806rg7b987rj40000gn/T/yellow/headphones-generated\r\n [copy] Copying 2 files to /var/folders/2w/6ng_21751l9806rg7b987rj40000gn/T/yellow/headphones-generated\r\n [exec] /opt/android-ndk/build/core/add-application.mk:49: /var/folders/2w/6ng_21751l9806rg7b987rj40000gn/T//yellow/headphones-generatedAndroid NDK: There is no Android.mk under /var/folders/2w/6ng_21751l9806rg7b987rj40000gn/T//yellow/headphones-generated/jni \r\n [exec] /Application.mk: No such file or directory\r\n [exec] /opt/android-ndk/build/core/add-application.mk:143: *** Android NDK: Aborting... .Android NDK: If this is intentional please define APP_BUILD_SCRIPT to point \r\n [exec] Android NDK: to a valid NDK build script. \r\n [exec] Stop.\r\n\r\n\r\nUse case: \r\nhttps://github.com/fstephany/Titanium-JNI-demo\r\nClone the repo, modify build.properties and create a 'lib' directory.\r\n\r\nHope it helps", "attachment": [], "flagged": false, "summary": "Android module with JNI won't build", "creator": { "name": "iamyellow", "key": "iamyellow", "displayName": "jordi domenech", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "iamyellow", "key": "iamyellow", "displayName": "jordi domenech", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Max OS X 10.7.4\r\n2.1.0.GA\r\nAndroid NDK r8", "comment": { "comments": [ { "id": "208064", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-17T09:10:52.000+0000", "updated": "2012-07-17T09:10:52.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }