Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16297] Android: builds throw errors when only minimum Android SDK is installed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-02-02T22:46:16.000+0000
Affected Version/sRelease 3.2.1
Fix Version/s2014 Sprint 02, 2014 Sprint 02 Core, Release 3.2.3, Release 3.3.0
ComponentsAndroid, Code Processor
Labelsmodule_build, qe-3.2.1, qe-testadded
ReporterSamuel Dowse
AssigneeChris Barber
Created2014-01-23T17:41:53.000+0000
Updated2014-04-18T20:35:45.000+0000

Description

Description

If you only have Android SDK 2.3.3 installed then projects will throw an error while building to device or simulator. With only 2.3.3 installed, the user is alerted with "Please download SDK targets (API level 10 or newer)" If the user install API 11 (3.0) then everything works fine.

Steps To Reproduce

1. Install Android SDK 2.3.3 and remove any others you have installed. 2. Run the project on device.

Expected Result

Project should to install to device without any errors

Actual Result

Project installs to device but throws errors

Attachments

FileDateSize
console log file.txt2014-03-24T09:29:39.000+000017981

Comments

  1. Chris Barber 2014-01-25

    [~sdowse] I am unable to reproduce on OS X and Windows. Can you attach build output, a screenshot, or test case? Are you building from Studio or the CLI? When building from the CLI, do you still see the problem?
  2. Chris Barber 2014-01-28

    Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5274 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5275
  3. Chris Barber 2014-01-28

    To test, only have Android 2.3.3 installed and then run:
       ti build -p android --no-prompt --build-only
       
  4. Satyam Sekhri 2014-02-03

    No error is shown on build 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
  5. Shreya Chowbey 2014-03-24

    Verified as not fixed for, Mavericks 10.9.2, Windows 8.1 Xcode: 5.1 Appcelerator Studio build: 3.2.3.201403190645 SDK: 3.2.3.v20140323211726 acs: 1.0.14 alloy: 1.3.1 titanium: 3.2.1 code processor: 1.1.0 Facing the same error scenario as mentioned in this issue. Also I am attaching 'console log file' for more clarification.
  6. Samuel Dowse 2014-03-24

    Verified fixed on: Mavericks 10.9.2 Windows 8.1 Xcode 5.1 Appcelerator Studio, build: 3.2.3.201403190645 Titanium SDK, build: 3.2.3.v20140323233607 CLI: 3.2.1 Alloy: 1.3.1 No error is displayed in the console log for either Mac or Windows.
  7. Eric Merriman 2014-03-24

    Closing. [~schowbey] Please let us know if you continue to have issues with this. I am unsure what the cause could be.

JSON Source