{ "id": "155836", "key": "AC-3394", "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": "6", "description": "", "name": "Hold" }, "resolutiondate": "2016-03-25T16:08:51.000+0000", "created": "2016-03-18T20:51:08.000+0000", "labels": [], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-25T16:08:51.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": "14554", "name": "Appcelerator Dashboard" } ], "description": "Well it's a long story started two weeks ago by trying to install Appcelerator studio...\r\n- We are a software company (15 years) and we are looking for mobile cross-platform solution\r\n- First installation didn't go well and I had issue with logging to appc studio, I googled for a solution and I read a posts in jira and finally I managed to login to appc studio.\r\n- Then came the main issue 'appc doesn't detect android sdk': there is no jira ticket or stack over flow question related to this that I didn't read it and followed the answers and suggestions: install android sdk directly in c:\\android-sdk, install JDK 32bit, download .jar, add sdk xx, remove sdk yy uninstall appc and reinstall again it just drive me crazy... I don't have the whole day I work all the day and at night I find my self fighting in installing appc with no success and I see other people have the same issue but there is no clear solution from appc itself....\r\n- I removed ndk and android sdk, uninstall appc studio, restart laptop and again to the battle I installed android sdk (all packages- I bought a secondary HD for that), Fresh and new install appcelerate studio then I stuck with again where I start from the first with logging issue, I found that related somehow to actually being logged to appc account in browser, ok the appc studio loads and my name in the right bottom corner but appc studio displays the login scree again (why?????), and then I stuck can't exit appc and can't login appc, so I use the 'task manager' to force closing appc.\r\n- I tried to use several CLI commands but I got errors and then I started a question in stackoverflow.com [http://stackoverflow.com/questions/35947640/appcelerator-doesnt-detect-android-sdk].\r\n- When I googled for answer to my issue I saw this 'Why can not appcelerator studio run from first time'.\r\n\r\n ", "attachment": [], "flagged": false, "summary": "Appcelerator doesn't detect android SDK", "creator": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Windows 7 Enterprise 64it\r\n* Android SDK\r\n* node.js\r\n* JDK 8", "comment": { "comments": [ { "id": "380176", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThanks for sharing with us. Please run the following command in the administrative command prompt.\r\n\r\nsudo rm -rf ~/.appcelerator\r\nsudo rm -rf ~/.titanium\r\nsudo npm uninstall -g titanium\r\nsudo npm uninstall -g appcelerator\r\nsudo npm install -g appcelerator\r\nappc use latest\r\nappc setup\r\n\r\nNow, Did you set the environment variables for your platform. Please follow the instruction in here http://docs.appcelerator.com/platform/latest/#!/guide/Software_Locations_and_Environment_Variables and follow Configuring Environment Variables on Windows section. \r\n\r\nNow, Go to your android SDK folder and open \"tools\" folder and open \"android\". This will open the Android SDK Manager. Now install the necessary sdks it recommended. Install those and restart the pc and restart the studio go to your studio preference/studio/platforms/android and see if the issue is fixed or not. Reply with your findings. Please provide screenshots. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-20T09:11:56.000+0000", "updated": "2016-03-20T14:35:58.000+0000" }, { "id": "380194", "author": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "OK,\r\n\r\nI follow you but when running appc setup I get this:\r\n\r\n!http://3msoft.net/mhmd/appc_1.png!\r\n\r\n!http://3msoft.net/mhmd/appc_2.png!\r\n\r\n!http://3msoft.net/mhmd/appc_3.png!\r\n\r\nAfter clicking OK:\r\n\r\n!http://3msoft.net/mhmd/appc_4.png!\r\n\r\n!http://3msoft.net/mhmd/appc_5.png!", "updateAuthor": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-20T19:30:41.000+0000", "updated": "2016-03-20T19:55:11.000+0000" }, { "id": "380196", "author": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I got windows! how can I run this:\r\n\r\nsudo rm -rf ~/.appcelerator\r\nsudo rm -rf ~/.titanium\r\n\r\nThank you", "updateAuthor": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-20T19:59:35.000+0000", "updated": "2016-03-20T19:59:35.000+0000" }, { "id": "380211", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThanks for your reply. First delete the .appcelerator folder in your home directory. This folder may be hidden in your system find the folder and delete it. Now, Please run the following command in the administrative command prompt.\r\n\r\n*npm uninstall -g appcelerator*\r\n*npm install -g appcelerator*\r\n*appc use latest*\r\n*appc setup*\r\n\r\n Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-21T05:45:34.000+0000", "updated": "2016-03-21T14:56:26.000+0000" }, { "id": "380237", "author": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any idea?", "updateAuthor": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-21T13:05:57.000+0000", "updated": "2016-03-21T13:05:57.000+0000" }, { "id": "380282", "author": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi,\r\n\r\nI follow you and the result is not good:\r\n\r\n!http://3msoft.net/mhmd/error.png!\r\n\r\nand here what I did:\r\n\r\n[Delete appcelerator dirs]\r\n!http://3msoft.net/mhmd/appc_8.png!\r\n\r\n!http://3msoft.net/mhmd/appc_intsall.png!\r\n\r\n!http://3msoft.net/mhmd/appc_uselatest.png!\r\n\r\n!http://3msoft.net/mhmd/appc_setup.png!", "updateAuthor": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-21T21:16:38.000+0000", "updated": "2016-03-21T21:17:25.000+0000" }, { "id": "380329", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThanks for your reply. Please use Titanium SDK 5.2.0.RC to avoid this error. To install this update, launch *Appcelerator Studio*. In the menu *Preferences*, go to *Studio* > *Updates*. From there, choose *Release Candidate Build*. It will install the updates. After installing the updates in Studio, you will need to execute the following commands to complete the installation of the update:\r\n{code}\r\nnpm install -g appcelerator@4.2.3-2\r\nappc use 5.2.0-265\r\n{code}\r\nIf you wish to install the updates via the command line, execute these commands:\r\n{code}\r\nappc ti sdk install -d 5.2.0.v20160216202526 -b 5_2_X\r\nnpm install -g appcelerator@4.2.3-2\r\nappc use 5.2.0-265\r\n{code}\r\nTo get help, please check the [link|http://docs.appcelerator.com/platform/latest/#!/guide/Titanium_SDK_5.2.0.RC_Release_Note].\r\n\r\nThanks", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-22T05:59:38.000+0000", "updated": "2016-03-22T17:30:13.000+0000" }, { "id": "380433", "author": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nStill doesn't detect android SDK\r\n\r\n!http://3msoft.net/mhmd/appc_10.png!\r\n\r\n!http://3msoft.net/mhmd/appc_11.png!\r\n\r\n!http://3msoft.net/mhmd/appc_12.png!\r\n\r\n!http://3msoft.net/mhmd/appc_13.png!\r\n\r\n!http://3msoft.net/mhmd/appc_14.png!\r\n\r\nh4. *{color:red}I didn't run the update for latest version as suggested above in the image !{color}*\r\n\r\n!http://3msoft.net/mhmd/appc_15.png!\r\n\r\n", "updateAuthor": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-22T21:05:58.000+0000", "updated": "2016-03-22T21:08:58.000+0000" }, { "id": "380483", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nThanks for your feedback. Your npm version is lower. Firstly uninstall it then install the latest version. Please follow these command.\r\n\r\n*npm uninstall npm -g*\r\n\r\n*npm install npm@latest -g*\r\n\r\n To help more please check [link|http://stackoverflow.com/questions/26908899/how-do-i-update-npm-on-windows].\r\n\r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2016-03-23T08:14:09.000+0000", "updated": "2016-03-23T08:14:09.000+0000" }, { "id": "380534", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Whats your JDK version? For windows system the JDK needs to be 32bit. Make sure you have 32bit JDK. Appcelerator won't work with 64bit JDK. http://docs.appcelerator.com/platform/latest/#!/guide/Installing_Oracle_JDK. \r\n\r\nNow, if you have 64bit JDK installed, you should uninstall studio and JDK both from your system and install the studio. It will detect when there is no JDK installed and ask you to install JDK in addition to it. Install them and set the environment variables from the instruction provided on my previous comment. \r\n\r\nReply with your findings. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-23T16:46:27.000+0000", "updated": "2016-03-24T14:21:05.000+0000" }, { "id": "380556", "author": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nIt's now after 01:00 AM, I have been following your suggestions guys for last 4 hours:\r\n\r\n1. Uninstall Appcelerate studio\r\n2. Delete all appcelerator directories\r\n3. Uninstall node.js [to fix npm issues]\r\n4. Uninstall all jdk/jre [all things that have java]\r\n5. Restart laptop\r\n6. Download Appcelerator studio\r\n7. Let it install jdk [old version]\r\n8. Run 'appc setup'\r\n9. I get the same error\r\n\r\n!http://3msoft.net/mhmd/appc_20.png!\r\n\r\n!http://3msoft.net/mhmd/appc_21.png!\r\n\r\n\r\n!http://3msoft.net/mhmd/appc_30.png!\r\n\r\n!http://3msoft.net/mhmd/appc_31.png!\r\n\r\nIT WOULD BE BETTER FOR YOU AND FOR ME TO GIVE YOU ACCESS TO MY LAPTOP (TEAMVIEWER) AND LET YOU DO WHAT YOU THINK IT WILL SOLVE MY PROBLEM !!\r\n\r\nGUYS as I mentioned in my report that I have read all jira tickets related to this issue and I mean ALL (also stackoverflow), you just copy answers from other tickets that others from appcelerator ( Fokke ) said that this wrong answer I mean the npm uninstall and reinstall: it will not solve the problem....\r\n\r\nThere is one thing left to do: FORMAT my laptop AND INSTALL FRESH COPY OF WINDOWS, INSTALL APPCELERATOR AND THEN MAYBE MAYBE APPCELERATOR STUDIO WILL RUN...", "updateAuthor": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-23T23:07:43.000+0000", "updated": "2016-03-24T14:12:01.000+0000" }, { "id": "380607", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Did you set the environment variables for your platform? Please follow the instruction in here http://docs.appcelerator.com/platform/latest/#!/guide/Software_Locations_and_Environment_Variables and follow Configuring Environment Variables on Windows section. \r\n\r\n Open the Windows Control Panel and search for 'environment'.\r\n\r\n Click Edit the system environment variables. The System Properties dialog appears displaying the Advanced tab.\r\n\r\n Click the Environment Variables button.\r\n\r\n Use the New or Edit buttons at the bottom of the dialog to add or change system variables.\r\n\r\nThe full instruction is in the link. Please provide screenshots after you set the environment variables. Now after doing that run appc setup. I would also recommend a fresh operating system installation and try installing Appcelerator if the problem still persist. \r\n\r\nWhat happens when you click details in \"problem detects in SDK settings\"!http://3msoft.net/mhmd/appc_3.png!.\r\nReply with your findings.\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-24T14:39:22.000+0000", "updated": "2016-03-24T14:39:22.000+0000" }, { "id": "380633", "author": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sharif \"_{{ I would also recommend a fresh operating system installation and try installing Appcelerator if the problem still persist.}}_\" You must be kidding!!! format my laptop and wipe the whole things that installed, I prefer to leave appcelerator than formatting, no way :-) ", "updateAuthor": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-24T17:26:40.000+0000", "updated": "2016-03-24T17:26:40.000+0000" }, { "id": "380642", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nThat was just a suggestion. You have to understand that we had provided every possible solution to your problem. And we never had this type of problem before. So, there must be something that is not working properly. That is why based on your comment I suggested a fresh operating system installation, Then installing node.js and JDK and setting the path variables and try installing Appcelerator studio. Did you follow the other instructions that I asked on the previous comment? \r\n\r\nThanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-24T19:35:21.000+0000", "updated": "2016-03-24T19:37:05.000+0000" }, { "id": "380643", "author": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "body": "YES....\r\n\r\nI'll try a fresh copy of window and start from there....\r\n\r\nThanx again for your help....\r\n\r\nجزاك الله خيرا", "updateAuthor": { "name": "mhmda", "key": "mhmda", "displayName": "Mohammad", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-24T19:40:32.000+0000", "updated": "2016-03-24T19:40:32.000+0000" }, { "id": "380700", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Thanks for your response. I am closing this ticket marked \"On hold\" let me know if you have any further problem. I will reopen it. Thanks.\r\nجزاك الله خيرا ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-25T16:07:45.000+0000", "updated": "2016-03-25T16:08:09.000+0000" } ], "maxResults": 16, "total": 16, "startAt": 0 } } }