{ "id": "120997", "key": "TIMOB-15440", "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": "15699", "description": "2013 Sprint 21", "name": "2013 Sprint 21", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "15701", "description": "2013 Sprint 21 Core", "name": "2013 Sprint 21 Core", "archived": true, "released": true, "releaseDate": "2013-10-18" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-22T18:17:44.000+0000", "created": "2013-10-09T17:32:54.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "Mavericks", "androidbuild", "ay-verified", "cb-verified", "qe-3.2.0", "qe-testadded" ], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-02-24T18:38: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": "10202", "name": "Android", "description": "Android Platform" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\nUpon updating my set up to 3.2.0 I noticed that the android SDK is not picked up.\r\nIn more detail, it does pick up the SDK, files and folders, but it doesn't pick up the platforms.\r\n\r\nh5.Steps To Reproduce\r\n+Studio:+\r\nNightly streams – version 3.2.0\r\nhttp://preview.appcelerator.com/appcelerator/studio/standalone/update/nightly/\r\n+SDK:+\r\nMaster branch - 3.2.0.v20131008134043 or later\r\nUse the terminal command via CLI:\r\n\"ti sdk install -b master –d\"\r\nThere is a bug. If you encounter it, try setting cli.prompt in config to true and then try to install\r\nti config cli.prompt \"true\"\r\n+CLI:+\r\nInstall from git\r\n\"sudo npm install -g git://github.com/appcelerator/titanium.git\"\r\n\r\nMake sure you have android SDK and NDK installed with atleast 1 platform installed.\r\nOpen terminal and run \"ti info -t android\"\r\n\r\nh5.Result\r\nThrows and error:\r\nTypeError: Object # has no method 'detectDevices'\r\n\r\nh5.Expected Result\r\nShould find the correct android locations and platforms\r\n\r\n+Extra Information+\r\nError thrown is in the function in info.js on line 232\r\n\r\n/usr/local/lib/node_modules/titanium/lib/commands/info.js", "attachment": [ { "id": "43040", "filename": "Screen Shot 2013-10-09 at 10.03.57 AM.png", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-09T17:32:54.000+0000", "size": 183650, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Android SDK not detected", "creator": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX 10.8.5 Mountain Lion\r\nTitanium Studio, build: 3.2.0.201310071819\r\nTitanium SDK: 3.2.0.v20131008154043\r\nCLI 3.2.0\r\nAlloy 1.2.2", "comment": { "comments": [ { "id": "274705", "author": { "name": "boonkerz", "key": "boonkerz", "displayName": "Thomas Peterson", "active": true, "timeZone": "Europe/Berlin" }, "body": "Same Issue here Android SDK can not detected", "updateAuthor": { "name": "boonkerz", "key": "boonkerz", "displayName": "Thomas Peterson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-10-10T21:56:48.000+0000", "updated": "2013-10-10T21:56:48.000+0000" }, { "id": "275393", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Pull request: https://github.com/appcelerator/titanium_mobile/pull/4781", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-10-17T08:31:53.000+0000", "updated": "2013-10-17T08:31:53.000+0000" }, { "id": "276037", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix & the command \"ti info -t android\" shows us the android info.\r\nThus closing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201310181700\r\nTi SDK : 3.2.0.v20131021142445\r\nMac OSX : 10.8.5\r\nCLI - 3.2.0\r\n", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T22:15:43.000+0000", "updated": "2013-10-21T22:15:43.000+0000" }, { "id": "276040", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ran command ti info -t android\r\nand verified Android SDK detected.\r\nEnvironment:\r\nMac osx 10.9 Mavericks\r\nCLI 3.2.0(72f7426b4ee6c2d2883c666d5b7e03906a16012f branch)\r\nSDK, build:3.2.0.v20131021142445\r\nAppcelerator Studio, build: 3.2.0.201310181700", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-21T22:19:05.000+0000", "updated": "2013-10-22T18:11:15.000+0000" }, { "id": "276184", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Upgrading to the latest Titanium Studio 3.2.0.201310220243 , the Android SDK cannot be detected anymore from Studio.\r\n\r\nHowever, 'ti info -t android' from terminal do returns the android info.\r\nAlso I was able to build an existing project on Android from CLI.\r\n\r\nTiSDK 3.2.0.v20131022050844\r\nTitanium Studio 3.2.0.201310220243\r\nCLI 3.2.0 (72f7426b4ee6c2d2883c666d5b7e03906a16012f branch)\r\nMac OSX 10.8.5\r\n\r\nh6. Update\r\nSeems to be a separate Titanium Studio issue - opening a new one", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T17:55:59.000+0000", "updated": "2013-10-22T18:05:00.000+0000" }, { "id": "276190", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T18:17:24.000+0000", "updated": "2013-10-22T18:17:24.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }