{ "id": "112045", "key": "TIMOB-13295", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-08-29T19:36:27.000+0000", "created": "2013-04-01T18:14:32.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-22T18:24:47.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "When user attempts to package an android module they receive an error.\r\n{code}\r\n/Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/module/android/build.xml:371: The following error occurred while executing this line:\r\n/Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/module/android/build.xml:326: exec returned: 2You may need to install the Command Line Tools package through XCode, in case you haven't done so yet.\r\n{code}\r\nwith Ant and terminal,in the module folder, User enters \"ant\". Then they receive another error during the \"ndk.build\" task :\r\n{code}\r\n[exec] In file included from /usr/include/sys/_types.h:33:0,\r\n [exec] from /usr/include/_types.h:27,\r\n [exec] from /usr/include/../include/stddef.h:69,\r\n [exec] from /Users/xxxx/android-ndk-r8e/sources/cxx-stl/stlport/stlport/stddef.h:34,\r\n [exec] from /Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/native/include/v8stdint.h:33,\r\n [exec] from /Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/native/include/v8.h:41,\r\n [exec] from /Users/xxxx/Library/Application Support/Titanium/mobilesdk/osx/3.0.2.GA/android/native/include/Proxy.h:11,\r\n [exec] from jni/com.mainline.android.push.ExampleProxy.h:12,\r\n [exec] from jni/com.mainline.android.push.ExampleProxy.cpp:10:\r\n [exec] /usr/include/machine/_types.h:34:24: fatal error: arm/_types.h: No such file or directory\r\n [exec] compilation terminated.\r\n{code}\r\nThe user has the Android NDK installed and it is visible in their PATH.", "attachment": [], "flagged": false, "summary": "Unable to build Android module with 3.0.2", "creator": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jbuckley", "key": "jbuckley", "displayName": "Jamie Buckley", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX Lion (10.7.5)\r\nTitanium SDK 3.0.2 GA", "comment": { "comments": [ { "id": "245420", "author": { "name": "eric-hu", "key": "eric-hu", "displayName": "Eric Hu", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'm seeing this as well on Mountain Lion, 10.8.3.\r\n\r\nThis bug is present if I set \"titanium.platform\" to 3.0.0.GA or 3.0.2.GA.", "updateAuthor": { "name": "eric-hu", "key": "eric-hu", "displayName": "Eric Hu", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-03T10:32:39.000+0000", "updated": "2013-04-03T10:32:39.000+0000" }, { "id": "245886", "author": { "name": "directagents", "key": "directagents", "displayName": "David Adams", "active": true, "timeZone": "Europe/London" }, "body": "I was able to resolve this by changing the Android.mk to use the android ndk platform include instead.\r\n\r\nIn Android.mk I changed -I$(SYSROOT)/usr/include to -I$(NDK_PATH)/platforms/$(TARGET_PLATFORM)/arch-arm/usr/include\r\nIn the main build.xml I had to export the ndk path by adding to build.ndk macro definition.\r\n", "updateAuthor": { "name": "directagents", "key": "directagents", "displayName": "David Adams", "active": true, "timeZone": "Europe/London" }, "created": "2013-04-05T05:50:18.000+0000", "updated": "2013-04-05T05:50:18.000+0000" }, { "id": "248335", "author": { "name": "mbrann@gmail.com", "key": "mbrann@gmail.com", "displayName": "Marty Brann", "active": true, "timeZone": "America/Los_Angeles" }, "body": "David, can you be more specific as to what you did to fix this locally? I tried to follow what you did but couldn't find the files/entries that you spoke of. Is this going to be addressed in the next release?", "updateAuthor": { "name": "mbrann@gmail.com", "key": "mbrann@gmail.com", "displayName": "Marty Brann", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-19T12:25:03.000+0000", "updated": "2013-04-19T12:25:03.000+0000" }, { "id": "394682", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The Ant build for modules is deprecated in favor of the new module build system introduced in Titanium SDK 4.0.0. Furthermore, Android modules compile just fine with Titanium SDK 5.5.0 and are not dependent on Xcode.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-29T19:36:27.000+0000", "updated": "2016-08-29T19:54:17.000+0000" }, { "id": "414864", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T18:24:47.000+0000", "updated": "2017-03-22T18:24:47.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }