Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5DECBD485 for ; Fri, 18 Jan 2013 00:30:36 +0000 (UTC) Received: (qmail 91732 invoked by uid 500); 18 Jan 2013 00:30:36 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 91673 invoked by uid 500); 18 Jan 2013 00:30:36 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 91661 invoked by uid 99); 18 Jan 2013 00:30:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 00:30:36 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.238 as permitted sender) Received: from [64.18.1.238] (HELO exprod6og122.obsmtp.com) (64.18.1.238) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jan 2013 00:30:26 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob122.postini.com ([64.18.5.12]) with SMTP ID DSNKUPiXjFITeXHbJSQJi25IqIl8JqRDhmgD@postini.com; Thu, 17 Jan 2013 16:30:05 PST Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r0I0R41v020507 for ; Thu, 17 Jan 2013 16:27:04 -0800 (PST) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id r0I0U3AV021785 for ; Thu, 17 Jan 2013 16:30:03 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Thu, 17 Jan 2013 16:30:03 -0800 From: Filip Maj To: "dev@cordova.apache.org" Date: Thu, 17 Jan 2013 16:32:54 -0800 Subject: Re: [ANDROID] What are the specific requirements re: Android SDK? Thread-Topic: [ANDROID] What are the specific requirements re: Android SDK? Thread-Index: Ac31EvSSYJEhKfZDQd2wFDlQcvCkwg== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.5.121010 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org This may be wrong, but didn't the target ID have to match up to a specific number or something? On 1/17/13 4:22 PM, "Joe Bowser" wrote: >Here it is on one line: >android list target | grep "Android 4.2" > >Basically, if you have a non-zero result, you're good to go as far as >the scripts are concerned. Android's binary backwards compatible, so >as long as you support the minimum SDK and compile against the target >SDK, the user should be fine.. You only need earlier targets if you >want to test on earlier versions of Android. > > >On Thu, Jan 17, 2013 at 4:14 PM, Filip Maj wrote: >> I am trying to solve this: https://issues.apache.org/jira/browse/CB-2219 >> >> Tl;dr: check that user has correct minimums installed w.r.t Android SDK. >> >> There is already something like this in place in the CLI tools for iOS. >> The tools runs `xcodebuild -version` and then using semver I parse >>through >> it to see if the minimum is installed (4.5.1). >> >> Looking through the android implementation's read me this isn't >>explicitly >> listed out. From experience I (think) the requirements are "download all >> the targets". >> >> Is this correct? >> >> Can we brainstorm the specific requirements and list them out here? I >>want >> the CLI tools to do something like (and this is rough but hopefully you >> get the idea): >> >> 1. run `android list target` >> 2. grep through the output and determine if the user has the necessary >> stuff >> >> If we can list everything out in this thread I will do my best to codify >> it. >> >> Thanks all, >> Fil >>