[TIMOB-17874] Android 5.0: Improve CLI support
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-11-10T21:15:59.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.4.1, Release 3.4.2, Release 3.5.0, Release 4.0.0 |
Components | Android, Tooling |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2014-10-17T23:56:09.000+0000 |
Updated | 2014-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.
Master: https://github.com/appcelerator/titanium_mobile/pull/6233 3_4_X: https://github.com/appcelerator/titanium_mobile/pull/6234
[~cb1kenobi] could you please provide a build for Lokesh?
3_4_1: https://github.com/appcelerator/titanium_mobile/pull/6278
Works for me using API 21 / Android 5.0. PR merged.
Note--we have not yet merged 3.4.2.
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
Closing others open tickets are related tickets.
reopening to add tester