Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-5443

Android:CLI - JSON payload change results in Studio unable to find Android SDK

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.2.0
    • Fix Version/s: 2013 Sprint 20, Release 3.2.0
    • Component/s: None
    • Labels:
    • Environment:

      Appcelerator Studio, build: 3.1.3.201309132456
      Titanium SDK 3.2.0.v20130926123242
      CLI 3.2.0
      Alloy 1.2.2

    • Story Points:
      5
    • Sprint:
      2013 Sprint 20

      Description

      Description:

      Since the JSON payload within the 3.2.0 CLI changed structure, Studio can no longer determine that the Android SDK is configured correctly. This may take a restart of studio or some time to clear the cached data in order to witness. The issue generally manifests itself first as a dialog show in the attachment "firstDialog.png"

      This prevents studio users from being able to build with Android.

      Steps to reproduce:

      1) Use Titanium Studio 3.1.3
      2) Install CLI 3.2.0 using:
      "sudo npm install -g git://github.com/appcelerator/titanium.git"
      3) Install SDK 3.2.0 (CLI currently has an issue, so use Studio)
      4) Set CLI selected SDK to 3.2.0 with:
      "ti sdk select <insert your 3.2.0 SDK version string here>"
      5) Restart studio
      -additional note: you can use command "ti info -o json -t android" to see the difference in the structure of the payload regarding the Android SDK.

      Result:

      You may see the "computing SDK info" error first. The Android SDK is no longer configured correctly and Studio will prompt the user to specify the Android SDK install location when trying to build for Android. Studio dashboard shows Android SDK as not configured.

      Expected Result:

      Android SDK still working and user is able to build for Android.

        Attachments

          Activity

            People

            • Assignee:
              mxia Michael Xia
              Reporter:
              oromero Olga Romero
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: