Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2275] Android: Support for min/max/target/tooling SDK in tiapp.xml

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:37.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M02
ComponentsAndroid
Labelsandroid, feature, rplist, sdk, tooling
ReporterMarshall Culpepper
AssigneeMarshall Culpepper
Created2011-04-15T03:15:20.000+0000
Updated2011-04-17T01:58:37.000+0000

Description

We should detect the platform / SDK version based on settings in tiapp.xml (and fall back to r4 if one isn't specified). We'll also need to copy those settings into the AndroidManifest.xml

Comments

  1. Bill Dawson 2011-04-15

    Don clarified this: what he wants is to be able to specify the api-level-specific tooling that should be used during builder.py and such. For example, for the install to sdk to work, tools from platform api level 8 need to be used.

    We'll create an element in tiapp.xml:

    <android> ... <tool-api-level>8</tool-api-level>

  2. Bill Dawson 2011-04-15

    (from [b2489591ce090f44861aaa3b730bd7684059e7a2]) [#2275 state:resolved] Support <tool-api-level> in tiapp.xml. If a value is there (i.e., 4, 5, 6, 7 or 8) pass it on to AndroidSDK(...) (androidsdk.py). We already supported setting the tool level in that constructor, it's just that we always called the constructor with a hard-coded 4. https://github.com/appcelerator/titanium_mobile/commit/b2489591ce090f44861aaa3b730bd7684059e7a2"> https://github.com/appcelerator/titanium_mobile/commit/b2489591ce09...

JSON Source