Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17874] Android 5.0: Improve CLI support

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-11-10T21:15:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.4.1, Release 3.4.2, Release 3.5.0, Release 4.0.0
ComponentsAndroid, Tooling
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2014-10-17T23:56:09.000+0000
Updated2014-11-21T18:38:03.000+0000

Description

The Android build does not properly convert the Android SDK L from the codename "L" to the version "20" which is causing emulator builds to fail saying the sdk is too old. Furthermore, the sorting of the Android SDKs is flawed and doesn't properly order SDKs based on the version. Instead it incorrectly uses the codename. Lastly, the vendor dependency versions needs to be bumped to add support for Android SDK 21 and Android Build & Platform Tools v21.

Comments

  1. Chris Barber 2014-10-17

    Master: https://github.com/appcelerator/titanium_mobile/pull/6233 3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6234
  2. Ingo Muschenetz 2014-10-20

    [~cb1kenobi] could you please provide a build for Lokesh?
  3. Chris Barber 2014-10-28

    3_4_1: https://github.com/appcelerator/titanium_mobile/pull/6278
  4. Tim Poulsen 2014-10-28

    Works for me using API 21 / Android 5.0. PR merged.
  5. Ingo Muschenetz 2014-10-28

    Note--we have not yet merged 3.4.2.
  6. Lokesh Choudhary 2014-10-28

    Verified the fix on 3.4.1 only, as the fix has not been merged in 3.4.2 & master yet. CLI sorting of the android sdk works fine & apps now build with default targetSDk version 21. The 2 linked tickets are still open. Environment: Appc Studio : 3.4.1.201410191611 Ti SDK : 3.4.1.v20141028135549 Mac OSX : 10.9.4 Alloy : 1.5.1 CLI - 3.4.1-dev Code Processor: 1.1.1 Nexus 5 - android 5.0 preview Galaxy S4 - android 4.4.2
  7. Lokesh Choudhary 2014-10-31

    Closing others open tickets are related tickets.
  8. Lokesh Choudhary 2014-10-31

    reopening to add tester

JSON Source