{ "id": "117393", "key": "TIMOB-14630", "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": "2014-02-01T00:13:01.000+0000", "created": "2013-07-19T14:52:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android", "dev-invalidate", "module", "package", "studio" ], "versions": [], "issuelinks": [ { "id": "37973", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "131043", "key": "TIMOB-17044", "fields": { "summary": "Android: Modules: Special character in NDK path throws command line tools package needed error while building android module", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-29T21:52:18.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": "h6.Problem\r\nWhen trying to package an android module to an app project I get an error about xcode commandline tools.\r\n\r\nYet it works just fine when doing it using ant\r\n!http://i.imgur.com/cZFldlD.png!\r\n\r\nh6.Steps to Reproduce:\r\n\r\n1. Create an Android Module.\r\n2. Package Android Module using ant, either from Studio or command line.\r\n\r\nh6.Actual Result:\r\nError.\r\n\r\nh6.Expected Result:\r\nAndroid Module Packages.", "attachment": [], "flagged": false, "summary": "Android: Modules: Can't package Android module in OSX 10.8", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "Titanium Studio, build: 3.1.2.201307161520\r\nTitanium SDK 3.2.0 master\r\nCLI 3.1.1\r\nOSX 10.8", "comment": { "comments": [ { "id": "273515", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Martin,\r\n\r\n# What version of the Android NDK are you using?\r\n# Have you tried installing the XCode SDK tools?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-01T18:40:45.000+0000", "updated": "2013-10-01T18:40:45.000+0000" }, { "id": "273975", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Ingo: i use ndk 7b.\r\nAnd as i mentioned in my ticket, it works from the command line, so obviously i have the xcode sdk tools.\r\nThe first thing bugging me is that the eclipse logger doesnt give the actual error from the command line.\r\nI think the first fix would be to modify the eclipse tools to output the log from the command line.", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-10-07T07:16:20.000+0000", "updated": "2013-10-07T07:16:20.000+0000" }, { "id": "275197", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Not able to reproduce with:\n\nTiSDK: 3.2.0.v20131014204636\nCLI: 3.1.1 and 3.2.0\nTitanium Studio 3.1.4.201310102218\nAndroid NDK 7 and 8\nOSX 10.8.4\nXcode 5\n\nAndroid module packaged both using Titanium Studio tool or running 'ant' from Titanium Studio console.\nAlways getting a 'Build successful'\n\n", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-15T21:07:32.000+0000", "updated": "2013-10-15T21:07:32.000+0000" }, { "id": "275269", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "@Federico: actually yesterday, for the first time my module built successfully. I dont think it means that \"bug\" is fix. To me the first to understanding what's really happening is to have the actual build log in eclipse.", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-10-16T13:16:31.000+0000", "updated": "2013-10-16T13:16:31.000+0000" }, { "id": "276663", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~farfromrefuge] Can you still reproduce the issue?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T19:31:05.000+0000", "updated": "2013-10-24T19:31:05.000+0000" }, { "id": "276742", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "As i mention it built a few days ago. But without any log from the build into TIStudio i cant confirm the bug is fixed", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-10-25T06:33:00.000+0000", "updated": "2013-10-25T06:33:00.000+0000" }, { "id": "276791", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~farfromrefuge] So, between when it was _not_ working, and when it was, what changed in your machine environment?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-25T15:46:26.000+0000", "updated": "2013-10-25T15:46:26.000+0000" }, { "id": "276792", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "TiStudio changed. I am on the nightly build. That s a guess saying it is the fix though as i dont really know what went wrong during the build :s\r\nWhat i can tell you is that i didnt not change anything code related, not even the sdk version", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-10-25T15:52:28.000+0000", "updated": "2013-10-25T15:52:28.000+0000" }, { "id": "278244", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Our current guess is that the module build process requires gperf, which somehow was not found as part of the Studio path at the time. We are updating how we test for XCode CLI build tools in 3.2.0 which should help alert the user better to what is wrong.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-05T20:30:11.000+0000", "updated": "2013-11-05T20:30:11.000+0000" }, { "id": "278388", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "Thanks Ingo for looking into it. That might be it. Great you got it fixed now!\r\nShould i create another ticket to get the full log inside TiStudio? Could really use that.\r\n\r\nThanks", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-11-06T07:41:06.000+0000", "updated": "2013-11-06T07:41:06.000+0000" }, { "id": "278457", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Yes, that would be good. However, do you have a way to demonstrate that they are different in normal usage? The team believes they should be the same.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-06T18:15:35.000+0000", "updated": "2013-11-06T18:15:35.000+0000" }, { "id": "278471", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "Oh it s easy simply build an android module from the command line and from tistudio, you ll see that you have the ant log in the command line. But you only get what i show in the screenshot when \"packaging\" in TiStudio.\r\nWhat you team might be talking about is when i use ant from inside titanium to build and test my module.\r\nJust so we are clear (i am not have been on that and i am sorry for that!) what i am talking about is the packaging option which allows you to build and package your module directly into another project or a dir.\r\nI assumed it was also using ant on android. Am i wrong?", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-11-06T19:01:52.000+0000", "updated": "2013-11-06T19:01:52.000+0000" }, { "id": "283787", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "still happening in the latest sdk!\r\n\r\n{code}\r\nExecuting build.xml...\r\n/Volumes/data/mguillon/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.AKYLAS/module/android/build.xml:373: The following error occurred while executing this line:\r\n/Volumes/data/mguillon/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.AKYLAS/module/android/build.xml:325: exec returned: 2 You may need to install the Command Line Tools package through XCode, in case you haven't done so yet.\r\n{code}", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-12-11T10:00:22.000+0000", "updated": "2013-12-11T10:00:22.000+0000" }, { "id": "283802", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "What are the other versions of your components you have installed?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T12:49:10.000+0000", "updated": "2013-12-11T12:49:10.000+0000" }, { "id": "283806", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "I am not sure what you mean by other components. \r\nBut i am using Titanium Studio nightly (3.3.0.201312100900)\r\nnode-appc master (as of 11/26/2013)\r\ntitanium CLI master (as of 11/26/2013)\r\n\r\nAnd the master branch of Titanium (my own but without any change on that side), as of 11/26/2013\r\n\r\nAlso i should mention it works in the console.\r\nOnce again if we had the full log it TiStudio i could give you the exact source of the problem\r\n\r\nTHanks", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2013-12-11T13:00:47.000+0000", "updated": "2013-12-11T13:00:47.000+0000" }, { "id": "283891", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cannot reproduce, Android module is packaged correctly both from Studio and from terminal.\r\n\r\nTiSDK 3.2.0.v20131210191510 \r\nCLI 3.2.0-beta\r\nTitanium Studio 3.2.0.201312101634\r\n\r\n@Martin, can you try a new 3.2 CI build?\r\n\r\nTo install the latest CI build, run:\r\n{code}\r\nsudo ti sdk install -b 3_2_X -d\r\n{code}\r\n\r\nYou can also install the latest CLI 3.2.0-beta with:\r\n{code}\r\nsudo npm install -g titanium@3.2.0-beta\r\n{code}\r\n\r\nThanks", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-11T23:29:03.000+0000", "updated": "2014-01-09T20:34:26.000+0000" }, { "id": "287614", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "It s been mentioned in my comments that i use the latest CLI (even the master one).\r\nAnd yes i guess it s hard to reproduce, even for me. And that's why i say again like i have said many times that the subject of that ticket is to get the full log of the build inside eclipse!!!!\r\nNow what i have seen is that the log start to appear but is immediately overwritten by this (just did)\r\n\r\n{code}\r\nExecuting build.xml...\r\n/Volumes/data/mguillon/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.AKYLAS/module/android/build.xml:374: The following error occurred while executing this line:\r\n/Volumes/data/mguillon/Library/Application Support/Titanium/mobilesdk/osx/3.3.0.AKYLAS/module/android/build.xml:326: exec returned: 2 You may need to install the Command Line Tools package through XCode, in case you haven't done so yet.\r\n{code}\r\n\r\nAnd there is no way to get back to it. Without it i CANT find the reason of that error.\r\n\r\nThis is with the nightly eclipse, master cli, master Ti SDK\r\n\r\nPlease dont close that ticket because you cant reproduce it. Help me reproduce it by showing the log in eclipse... ", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2014-01-10T08:47:21.000+0000", "updated": "2014-01-10T08:47:21.000+0000" }, { "id": "289113", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Martin, you could see the full log by running the build.xml file in the project:\n\n1. Right-click on the build.xml file in your Android module project and selecting Run As > Ant Build...\n2. In the Edit Configuration dialog, switch to Properties tab and uncheck the option \"Use global properties as...\"\n3. Click on \"Add Properties...\", then specify \"android.ndk\" for Name and the Android NDK path for Value.\n4. Click OK and then Run.\n\nThe Console view should show the build output with deeper insight on what went wrong.\n\nHope this helps.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-21T21:06:04.000+0000", "updated": "2014-01-21T21:06:04.000+0000" }, { "id": "289191", "author": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "body": "Michael: Thanks for the help. Actually i know that. But building with ant for testing is not the same as packaging. Obviously as i dont get the error while building for testing…\r\n\r\nAnyway that bug have been there for too long. I am dropping eclipse completely for Ti dev so i dont think i will keep answering that ticket. So you can close as unresolved if you want …\r\n\r\nThanks", "updateAuthor": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "created": "2014-01-22T07:42:59.000+0000", "updated": "2014-01-22T07:42:59.000+0000" }, { "id": "290755", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "We're going to close this particular issue based on the commentary so far, but if it reappears for anyone, please follow the steps [~mxia] outlined and we'd be happy to reopen.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-01T00:13:01.000+0000", "updated": "2014-02-01T00:13:01.000+0000" } ], "maxResults": 22, "total": 22, "startAt": 0 } } }