{ "id": "105049", "key": "TIMOB-11781", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14624", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24", "archived": true, "released": true, "releaseDate": "2012-12-03" }, { "id": "14627", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24 JS", "archived": true, "released": true, "releaseDate": "2012-12-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-21T22:10:26.000+0000", "created": "2012-11-15T17:29:36.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-cli" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-02-21T00:02:48.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": "10207", "name": "Tooling" } ], "description": "Steps to Reproduce:\r\n1. Create an application\r\n2. Run \"titanium build\"\r\n3. type \"android\"\r\n\r\nActual:\r\n[ERROR] Unable to detect Android SDK targets.\r\n\r\nPlease download SDK targets via Android SDK Manager and try again. (version 2.2 or newer)\r\n\r\nExpected:\r\nTo build the android application", "attachment": [], "flagged": false, "summary": "CLI: titanium build for android cannot detect the Android SDK targets even when they are available", "creator": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "3.0.0.v20121113170203\r\nMac 10.7.5", "comment": { "comments": [ { "id": "228286", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3462\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3463", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-11-21T20:51:37.000+0000", "updated": "2012-11-21T20:51:37.000+0000" }, { "id": "229969", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with CLI 3.0.19", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-04T23:01:26.000+0000", "updated": "2012-12-04T23:01:26.000+0000" }, { "id": "234932", "author": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still seeing this issue on CLI 3.0.22. Not sure how to re-open this case. Can someone do that for me?", "updateAuthor": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-18T10:51:39.000+0000", "updated": "2013-01-18T10:51:39.000+0000" }, { "id": "239126", "author": { "name": "dotnetcarpenter", "key": "dotnetcarpenter", "displayName": "Jon Ege Ronnenberg", "active": true, "timeZone": "Europe/Berlin" }, "body": "Same issue with ti -v 3.0.24\r\nIs there a work-around?", "updateAuthor": { "name": "dotnetcarpenter", "key": "dotnetcarpenter", "displayName": "Jon Ege Ronnenberg", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-20T21:28:26.000+0000", "updated": "2013-02-20T21:28:26.000+0000" }, { "id": "239130", "author": { "name": "dotnetcarpenter", "key": "dotnetcarpenter", "displayName": "Jon Ege Ronnenberg", "active": true, "timeZone": "Europe/Berlin" }, "body": "I should mention that my path is: android.sdkPath = \"/Volumes/Macintosh HD 2 1/dotnetCarpenter/src/android-sdk-macosx/\"\r\n\r\nDo you think this could be fixed in time for TiConf EU? - it's on Saturday the 23th. ", "updateAuthor": { "name": "dotnetcarpenter", "key": "dotnetcarpenter", "displayName": "Jon Ege Ronnenberg", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-20T21:34:46.000+0000", "updated": "2013-02-20T21:34:46.000+0000" }, { "id": "239132", "author": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Jon, you can run the Titanium Setup by running the command - ti setup\r\nGoing through the setup successfully will fix this problem.", "updateAuthor": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-20T21:46:38.000+0000", "updated": "2013-02-20T21:46:38.000+0000" }, { "id": "239146", "author": { "name": "dotnetcarpenter", "key": "dotnetcarpenter", "displayName": "Jon Ege Ronnenberg", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "dotnetcarpenter", "key": "dotnetcarpenter", "displayName": "Jon Ege Ronnenberg", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-20T22:37:31.000+0000", "updated": "2013-02-20T22:37:31.000+0000" }, { "id": "239164", "author": { "name": "dotnetcarpenter", "key": "dotnetcarpenter", "displayName": "Jon Ege Ronnenberg", "active": true, "timeZone": "Europe/Berlin" }, "body": "I just symlinked (``ln -s``) my android-sdk-macosx/ folder to /Applications as suggested by your [wiki](https://wiki.appcelerator.org/display/guides/Configuring+Environment+Variables#ConfiguringEnvironmentVariables-OSX]) and now ``ti build``doesn't complain about missing android SDK.\r\n\r\nYou should probably do something like\r\n```javascript\r\nvar s = \"/Volumes/Macintosh HD 2 1/dotnetCarpenter/Library/Application Support/Titanium/mobilesdk/osx/3.0.0.GA/android/builder.py\";\r\ns = s.replace(/\\s/g, \"\\\\ \");\r\nconsole.log(s)\r\n``` ", "updateAuthor": { "name": "dotnetcarpenter", "key": "dotnetcarpenter", "displayName": "Jon Ege Ronnenberg", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-02-21T00:02:48.000+0000", "updated": "2013-02-21T00:02:48.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }