{ "id": "108116", "key": "AC-2652", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-28T19:23:28.000+0000", "created": "2013-01-18T12:12:31.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "updated": "2016-03-08T07:41:45.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "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 3.0: Titanium build for android cannot detect the Android SDK targets even when they are available", "creator": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium version 3.0.1.201212181159, CLI version 3.0.22, Mac version 10.8.2", "comment": { "comments": [ { "id": "236114", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Hi Mukul,\n\nCan you please provide the error log and the error that you are getting (probably a screenshot if possible)? Also, please post the exact commands you are typing in the terminal.\n\nThanks,\nVarun", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-26T07:02:01.000+0000", "updated": "2013-01-26T07:02:01.000+0000" }, { "id": "236131", "author": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Varun,\n\nThis issue has been resolved. I should've commented earlier and closed it but apologies for that. \nThe requirement here is that ANDROID_SDK and ANDROID_NDK environment variables must be set before Titanium Android build will work. I believe because of legacy support, python scripts still rely on the ANDROID_SDK and ANDROID_NDK values.\n\nIf you can improve the documentation, that would be great.\n\nThanks,\nMukul", "updateAuthor": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-27T01:48:31.000+0000", "updated": "2013-01-27T01:48:31.000+0000" }, { "id": "236273", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Hi Mukul,\r\n\r\nI am glad it worked for you. Just a quick tip, if you run the command \"titanium setup\" command before running any other commands, it would take care of the general pre-configuration you need to have to begin using CLI.\r\n\r\nThanks,\r\nVarun", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2013-01-28T19:23:28.000+0000", "updated": "2013-01-28T19:23:28.000+0000" }, { "id": "236275", "author": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "body": "You are absolutely right Varun. Just tried it out. \n'ti setup' works like a charm. Should've done that in the first place.\n\nThank you very much!!\nMukul", "updateAuthor": { "name": "elitecoder", "key": "elitecoder", "displayName": "Mukul Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-28T19:34:21.000+0000", "updated": "2013-01-28T19:34:21.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }