Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A501C10DDE for ; Mon, 25 Nov 2013 18:19:06 +0000 (UTC) Received: (qmail 33295 invoked by uid 500); 25 Nov 2013 18:17:02 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 33136 invoked by uid 500); 25 Nov 2013 18:16:44 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 33069 invoked by uid 99); 25 Nov 2013 18:16:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Nov 2013 18:16:38 +0000 Date: Mon, 25 Nov 2013 18:16:37 +0000 (UTC) From: "Joe Bowser (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5338) Android API Level SHOULD NOT be hardcoded in the CLI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831684#comment-13831684 ] Joe Bowser commented on CB-5338: -------------------------------- The FIX is to remove the hard-coded section and rely on the platform scripts to do it. The Android parser should be calling the platform check_reqs script. > 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)