Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16306] Code Processor: Fails when only minimum Android SDK is installed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-03-24T23:45:41.000+0000
Affected Version/sRelease 3.2.1
Fix Version/s2014 Sprint 02, 2014 Sprint 02 Tooling, Release 3.2.3, Release 3.3.0
ComponentsAndroid, Code Processor
LabelsAppceleratorStudio_BAT, qe-3.2.1, qe-testadded
ReporterSamuel Dowse
AssigneePraveen Innamuri
Created2014-01-24T18:55:48.000+0000
Updated2014-07-26T04:36:40.000+0000

Description

Description

Code analysis will fail to display result if only Android SDK 2.3.3 (API 10) is installed.

Steps To Reproduce

1. Remove or rename any previous Android SDK folder you have 2. Make sure Studio is not detecting any Android SDK at all 3. Run the configuration wizard and install Android 2.3.3 4. Create a classic project 5. Run the code analysis on the project

Expected Result

Code analysis should show the results of the project

Actual Result

User is prompted with an alert saying that Android SDK must have 2.3.3 or higher installed

Attachments

FileDateSize
Screen Shot 2014-01-24 at 10.55.34 AM.png2014-01-24T18:55:48.000+0000181219

Comments

  1. Michael Xia 2014-01-28

    This is triggered by TIMOB-16297.
  2. Michael Xia 2014-02-03

    Marking this resolved as the related ticket is resolved.
  3. Satyam Sekhri 2014-02-03

    No error is shown on code analysis with only Android 2.3.3 installed. The issue does not occur on: OSX: 10.9.1 Appcelerator Studio: 3.2.1.201401311225 CLI: 3.2.1-beta3 Titanium SDK: 3.3.0.v20140202230850
  4. Olga Romero 2014-03-13

    Reopened, reproduced with Titanium SDK, build: 3.2.3.v20140312130857 Appcelerator Studio, build: 3.2.2.201403061827 Mac osx 10.9.2 CLI 3.2.1
  5. Ingo Muschenetz 2014-03-14

    Praveen, can you investigate?
  6. Praveen Innamuri 2014-03-24

    This is already fixed due to other changes in the CLI. By cc, [~cbarber] I figured out the code processor tries to validate through CLI before analyzes the project against Android platform. However, CLI (in fact /android/cli/commands/_build.js) has a bug if only minimum Android SDK is installed. Seems this has been recently fixed through TIMOB-16297 (https://github.com/appcelerator/titanium_mobile/blob/3_2_X/android/cli/commands/_build.js#L176)
  7. Samuel Dowse 2014-03-25

    Verified fixed on: Mac OSX 10.9.2 Windows 8.1 Appcelerator Studio, build: 3.2.3.201403190645 Titanium SDK, build: 3.2.3.v20140324164913 CLI: 3.2.1 Alloy: 1.3.1 Code Processor successfully analyses the project. Closing.

JSON Source