Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1975] Titanium Studio Does not Setup Android Properly

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2014-01-20T06:41:50.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterTony DiLoreto
AssigneeRitu Agrawal
Created2014-01-13T11:53:28.000+0000
Updated2016-03-08T07:40:54.000+0000

Description

Steps to Reproduce

1. Update Titanium Studio to latest version 2. Click to configure Android SDK (to build apps for) 3. Let configurator run 4. After it says successfully completed, restart Titanium Studio 5. Upon restarting Titanium Studio, still see error messages that Android is not properly setup.

Actual Result

Android still not setup (even thought it has been downloaded to proper place)

Expected Result

Android setup properly. This has been a HUGE bug in TitaniumStudio for as long as I can remember. I spent countless hours wrestling with error messages that Android SDK is not setup or in the proper location. I hoped that this new auto-configurator would do it but it still DOES NOT WORK. Thanks.

Attachments

FileDateSize
.log2014-01-13T11:53:29.000+0000539235
diagnostic2223741816665650755.log2014-01-13T11:53:34.000+000016497
screenshot-1.jpg2014-01-13T12:18:27.000+0000220747
screenshot-2.jpg2014-01-13T12:39:24.000+000064602

Comments

  1. Tony DiLoreto 2014-01-13

    As you can see I have the Android SDK installed (via TitaniumStudio configurator tool), yet the program STILL cannot find it (see error message). I think it is a bug because I let the configurator run on its own and it still shows cannot be found.
  2. Tony DiLoreto 2014-01-13

    I think this is a much bigger problem seeing all the forum posts that have been made: http://developer.appcelerator.com/question/136027/titanium-studio-not-recognizing-that-android-sdk-is-installed http://developer.appcelerator.com/question/127541/titanium-cannot-find-android-sdk https://developer.appcelerator.com/question/152682/titanium-cant-find-android-sdk There are 39,000 results on Google for this. Please make the error checking in the Platform Configuration tool more intelligent.
  3. Tony DiLoreto 2014-01-13

    What the Platform Configuation tool looks like after its done running.
  4. Ritu Agrawal 2014-01-13

    This appears to be a known issue described at TISTUD-6007 and TC-3559. What is interesting is that one of your screenshots indicates the SDK was installed in c:\android-sdk-win directory but the second screenshot shows the location as c:\android-sdk-home. Studio fails to recognize a valid Android SDK location if the android.sdkPath hook (in 'titanium config') refers to a different path. To work around the problem, you can use the command 'ti config android.sdkPath c:\android-sdk-win' to set the path on CLI, restart Studio and configure the same path in Studio preferences. Please provide us the following information if this work around does not work for you. 1) Output for the command 'titanium sdk' 2) Output for the command 'titanium config' 2) Output for the command 'titanium info'

JSON Source