You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2013/11/19 21:09:22 UTC

[jira] [Updated] (CB-5338) Android API Level SHOULD NOT be hardcoded in the CLI

     [ https://issues.apache.org/jira/browse/CB-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Bowser updated CB-5338:
---------------------------

    Summary: Android API Level SHOULD NOT be hardcoded in the CLI  (was: Is android api lvl 17 really required to add an Android platform?)

This is completely wrong.  We should define the required API level in the platform and only in the platform.  The CLI shouldn't have this hardcoded at all, since this breaks the CLI.

> Android API Level SHOULD NOT be hardcoded in the CLI
> ----------------------------------------------------
>
>                 Key: CB-5338
>                 URL: https://issues.apache.org/jira/browse/CB-5338
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, App Hello World, CLI
>    Affects Versions: 3.1.0
>         Environment: Windows 7 X64
>            Reporter: Rick Gommers
>            Assignee: Braden Shepherdson
>              Labels: android, api, platform, sdk
>
> Situation: I have re-downloaded my ADT bundle from developer.android.com
> This bundle comes with the Android api lvl 18 pre-installed.
> I have updated everything that needs an update, but I have not installed any new SDK's.
> Question: Upon executing the command: 'cordova add platform android' I get the following error:
> C:\cordovaprojects\test>cordova platform add android
> Checking Android requirements...
> [Error: Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.]
> Is it really nescessary to have Android api lvl 17 installed? I want to limit the time for our users to set everything up, so it would be helpful if we could use the Api lvl 18 that comes preinstalled with ADT bundle.
> Thx in advance!



--
This message was sent by Atlassian JIRA
(v6.1#6144)