{ "id": "129940", "key": "AC-736", "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": "2014-06-13T18:38:07.000+0000", "created": "2014-05-04T15:06:52.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2016-03-08T07:36:59.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h3. Steps to Reproduce\nUsing Kubuntu 14.04 64Bit (same issue when I first tried on 13.10).\n\nSee Screenshot:\nA) Just start Titanium and start pages has a red cross next to Android SDK (see screenshot on left side)\nB)\nMenu > Preference > Studio > Platforms > Android (See screenshot on right side) There it says there is a Problem\n\nh3. Actual Result\nAndroid SDK not working\n\nh3. Expected Result\nFind Android SDK (see screenshot right upper corner, there ARE android SDK properly installed!)", "attachment": [ { "id": "47822", "filename": ".log", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-04T15:06:54.000+0000", "size": 18273, "mimeType": "text/plain" }, { "id": "47823", "filename": "diagnostic8985887684628278040.log", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-04T15:06:58.000+0000", "size": 17299, "mimeType": "text/plain" }, { "id": "48920", "filename": "k3b-tool-checklist.png", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T10:00:24.000+0000", "size": 149103, "mimeType": "image/png" }, { "id": "47824", "filename": "TitaniumAndroidSDK.png", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-04T15:07:02.000+0000", "size": 395923, "mimeType": "image/png" }, { "id": "48917", "filename": "TitaniumAndroidSDK1.png", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T06:22:04.000+0000", "size": 418912, "mimeType": "image/png" }, { "id": "48918", "filename": "TitaniumAndroidSDK2.png", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T06:22:04.000+0000", "size": 415580, "mimeType": "image/png" }, { "id": "48153", "filename": "titanium-config.txt", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T07:30:29.000+0000", "size": 931, "mimeType": "text/plain" }, { "id": "48154", "filename": "titanium-info_beforeconfig.txt", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T07:30:29.000+0000", "size": 3009, "mimeType": "text/plain" }, { "id": "48155", "filename": "titanium-info_current.txt", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T07:30:29.000+0000", "size": 7836, "mimeType": "text/plain" }, { "id": "48156", "filename": "titanium-sdk.txt", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T07:30:29.000+0000", "size": 464, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Problem detecting Android SDK", "creator": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.2.3", "comment": { "comments": [ { "id": "305112", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please attach the output of the following commands to investigate further\r\n\r\n1. Titanium info\r\n2. Titanium config\r\n3. Titanium sdk", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T17:31:49.000+0000", "updated": "2014-05-15T17:31:49.000+0000" }, { "id": "305150", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Ritu,\r\nwhere should I enter those commands? I don't have Titanium binary but TitaniumStudio. Am I missing somewhat?\r\n\r\nI have Titanium SDK 3.2.3GA installed.\r\n\r\ncu Floh", "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T18:48:33.000+0000", "updated": "2014-05-15T18:49:42.000+0000" }, { "id": "305166", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "You can go to the terminal and type the commands.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T20:28:31.000+0000", "updated": "2014-05-15T20:28:31.000+0000" }, { "id": "305263", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sorry, I just found it in node-path. Didn't know that node installed titanium-cli.\r\n\r\nI entered 'titanium info' and got Issues, see Attachment titanium-info_beforeconfig.txt.\r\n\r\nThen I did './titanium config android.sdkPath /home/f.erfurth/Development/android-sdks' and redo 'titanium info', see Attachment titanium-info_current.txt. There the issue about not finding android-sdk disappeared but still Titanium_Studio complains...\r\n\r\nI also attached result of 'titanium config' and 'titanium sdk'.\r\n\r\ncu Floh", "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-16T07:28:36.000+0000", "updated": "2014-05-16T07:28:36.000+0000" }, { "id": "305448", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\"titanium-info\" shows your Android SDK directory as \"/home/f.erfurth/Development/android-sdks\" but your Studio dialog box shows the path as \"/home/f.erfurth/Development/android-sdk-home\" so there is a discrepancy here. Which one is correct? Can you try setting \"/home/f.erfurth/Development/android-sdks\" in Studio and see if it works?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T05:41:08.000+0000", "updated": "2014-05-19T05:41:08.000+0000" }, { "id": "305493", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\nsorry for confusing you but I'm using '/home/f.erfurth/Development/android-sdks'. When I took screenshot and report bug here the directory was called android-sdk-home because I tried that after reading this:\r\nhttps://developer.appcelerator.com/question/147158/configuring-titanium-for-android-development\r\n\r\nBut renaming the folder to one which contains the string 'home' didn't help so I renamed back to android-sdks.\r\n\r\nShort answer to your last question if this works: Unfortunatelly no.\r\n\r\ncu Floh", "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-19T12:45:48.000+0000", "updated": "2014-05-19T12:45:48.000+0000" }, { "id": "305912", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for confirmation. What information do you see in this case when you click on \"Click for Details\" link?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-21T13:47:41.000+0000", "updated": "2014-05-21T13:47:41.000+0000" }, { "id": "305925", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi, no problem. Details only says:\r\n\"An error was detected with the SDKs configuration.\r\n\r\nReason:\r\n[Android SDK Home] No Android SDKs were found under the specified SDK location\"\r\n\r\nWell I dunno why Android SDKs is not found.\r\ncu Floh", "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-21T15:20:49.000+0000", "updated": "2014-05-21T15:20:49.000+0000" }, { "id": "308797", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~f.erfurth] Your Android SDK path in the Titanium CLI differs from the one in Titanium Studio. The CLI is pointing to the correct location:\r\n\r\n{code}\r\n/home/f.erfurth/Development/android-sdks\r\n{code}\r\n\r\nHowever, Studio is pointing to:\r\n\r\n{code}\r\n/home/f.erfurth/Development/android-sdk-home\r\n{code}\r\n\r\nWhich may exist, but needs to be the same as the Titanium CLI. Please update the Android SDK path in Studio to point to the same one as the Titanium CLI:\r\n\r\n{code}\r\n/home/f.erfurth/Development/android-sdks\r\n{code}", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-12T23:54:04.000+0000", "updated": "2014-06-12T23:54:04.000+0000" }, { "id": "308844", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T06:20:43.000+0000", "updated": "2014-06-13T06:20:43.000+0000" }, { "id": "308845", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Added 2 Screenshots TitaniumAndroidSDK1.png and TitaniumAndroidSDK2.png.\r\nThese Paths are same as I said in last comment and still not working.\r\n\r\nUPDATE:\r\nTitaniumAndroidSDK1.png: Sorry, I just saw I accidentally marked ndk-path but right above there is sdk-path.", "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T06:22:04.000+0000", "updated": "2014-06-13T06:31:47.000+0000" }, { "id": "308847", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~f.erfurth] Hmm, sorry I closed it. Reopened it until we solve this. :)\r\n\r\nSo, what we need to do is first verify that the Titanium CLI can see the Android SDK and the targets. You can do this by running:\r\n\r\n{code}\r\nti info -t android\r\n{code}\r\n\r\nI saw in the attached {{titanium-info_current.txt}} that the CLI indeed did find the Android SDKs.\r\n\r\nTo test that the Titanium CLI can build apps just fine, go to any Titanium app, then run the following:\r\n\r\n{code}\r\nti build -p android --build-only\r\n{code}\r\n\r\nIf the app builds fine, then we can safely say the issue is in Titanium Studio, not the Titanium CLI build system.\r\n\r\nThe next thing to do is to set the Android SDK path in Studio to the correct location. You just need the Android SDK. You do not need the Android NDK for building apps. If Studio is complaining still, then we need to further investigate.\r\n\r\nSorry to make you run around, but I want to make sure you can get up and running. :)", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-13T06:31:27.000+0000", "updated": "2014-06-13T06:31:27.000+0000" }, { "id": "308873", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Oh well... I found a solution. Thank you Chris Barber, because of your hint I noticed one weird behaviour (Titanium CLI not found... while trying to create App). Because I didn't create new Project yet I never got this error.\r\n\r\nResult:\r\nti & titanium was missing in $PATH-Directory, so I symlinked there and voilá... Android-SDK => Check! :)\r\n\r\nI'd suggest:\r\nTitanium Studio should check, if all neccessary tools is installed *and runable* at start. Also I'd suggest, if I go to menu:\r\nHelp > Studio > Run diagnostic Test...\r\nI expect from running diagnostic test complaining about missing Titanium-CLI. (diagnostic never complaint before :-O ) I think this would help many Titanium-beginners and I was only looking, whats wrong about Android, but not if Titanium CLI is found by Titanium Studio.\r\n\r\nI'd suggest if you could implement a checklist-dialog (if already, where is it?). Similiar like the one from k3b (burning software) I'll attach a screenshot how it looks like. This helps much for beginners if they're unsure if every tools is setup properly. If you think, my installed instance Titanium Studio may have bug because it didn't report about missing Titanium SDK, I'm willing help you giving more feedback you want know. Just let me know please.\r\n\r\nStill, I'm sorry making such fuss, but I'm happy to try out Titanium Studio. Thank you very much!\r\ncu Floh", "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T09:59:18.000+0000", "updated": "2014-06-13T09:59:18.000+0000" }, { "id": "308874", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Attachment k3b-tool-checklist.png\r\nThis is the checklist of k3b-burning software which tells user if tools are installed/configured properly. Just a idea.", "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T10:00:24.000+0000", "updated": "2014-06-13T10:00:24.000+0000" }, { "id": "308937", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~f.erfurth] Great! Glad you solved the problem. :)\r\n\r\nWe do have a checklist, but it's only in the CLI, not in Studio. You simply run:\r\n\r\n{code}\r\nti setup check\r\n{code}\r\n\r\nIt's not comprehensive, but it does check the obvious stuff.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-06-13T18:37:59.000+0000", "updated": "2014-06-13T18:37:59.000+0000" }, { "id": "309064", "author": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I see... thank you very much! :)", "updateAuthor": { "name": "f.erfurth", "key": "f.erfurth", "displayName": "Florian Erfurth", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-15T08:14:58.000+0000", "updated": "2014-06-15T08:14:58.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }