[ https://issues.apache.org/jira/browse/CB-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820215#comment-13820215 ]
Braden Shepherdson commented on CB-5338: ---------------------------------------- It's not "really" required, but we hard-code needing the latest API installed. The CLI was not in wide use the last time there was a new Android API version, so I'm not sure what we did last time. I have a feeling we should make this code more flexible. At any rate, we should change the harcoding to point at 18. > Is android api lvl 17 really required to add an Android platform? > ----------------------------------------------------------------- > > 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 > 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)