Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F83ACB34 for ; Thu, 28 Jun 2012 14:59:19 +0000 (UTC) Received: (qmail 86522 invoked by uid 500); 28 Jun 2012 14:59:19 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 86433 invoked by uid 500); 28 Jun 2012 14:59:18 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 86425 invoked by uid 99); 28 Jun 2012 14:59:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 14:59:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of simon.macdonald@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-pz0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jun 2012 14:59:12 +0000 Received: by dalh21 with SMTP id h21so2890357dal.6 for ; Thu, 28 Jun 2012 07:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=MEw6IvnRAWJD3nkv3IBuLGw+h+z1adm7MY6lxWstk3E=; b=rdlyitOnJz6MALQOX6I68KJUOLj7Y6a/y8e0PsuEgT+XoRjD2erc1dWG/CdHnsI/ly 5mDN392JiIc/R45VLm49vrASDpUziVIlktuBdOY1K5itfkUK1uQe6Lm/drZapZ0h/WSA oskpem58l8tGbHv2j4r2MlpnwTCzdTIkHL916fFAzOTPKD3VnsZToVq4M0gfvqSkzDte O/DEpuHGfsnH3g0xnLR7z4xoIn3YipvBHDrTtTjurkQQXbZnGBgBbRuykH7k7lysF7bV la6Kb6+YNDJJCAknp3IsJ6o6jUFED97PFzSrs8obEo/fr/+AV427mTzcMRCRnKmNx8JY h+0w== Received: by 10.68.233.201 with SMTP id ty9mr8743314pbc.34.1340895531329; Thu, 28 Jun 2012 07:58:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.33.199 with HTTP; Thu, 28 Jun 2012 07:58:31 -0700 (PDT) In-Reply-To: References: From: Simon MacDonald Date: Thu, 28 Jun 2012 10:58:31 -0400 Message-ID: Subject: Re: [Android] DON'T UPGRADE YOUR TOOLS To: callback-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Our build.xml on line 109 includes a dependency on the Android SDK's build.xml. So when I see the error about "renderscript.opt.level" I realized it must be something introduced in version 20 of the SDK's build.xml. So I just grepped through the file to see what's what and that's what led me to the new properties. Simon Mac Donald http://hi.im/simonmacdonald On Thu, Jun 28, 2012 at 10:53 AM, Joe Bowser wrote: > OK, Where the hell did you find that? I've been stuck on this crap all > yesterday! > > On Thu, Jun 28, 2012 at 7:46 AM, Simon MacDonald > wrote: >> If you are like me and set your SDK to upgrade over night you can get >> around this issue for now if you add: >> >> renderscript.opt.level=3DO0 >> >> into your local.properties file. Then "ant jar" will work for you. >> >> Basically, these two new properties: >> >> =A0 =A0 >> =A0 =A0 >> >> are used to set: >> >> =A0 =A0renderscript.opt.level >> >> when you run "ant debug" or "ant release" respectively. So we'll just >> need to provide the correct value for when we run "ant jar". >> >> Simon Mac Donald >> http://hi.im/simonmacdonald >> >> >> On Thu, Jun 28, 2012 at 2:37 AM, Joe Bowser wrote: >>> I'm using 1.8.2. =A0The issue isn't with ant, it's with the upgraded >>> Android SDK. =A0If you upgrade the SDK, you get the new build.xml, whic= h >>> our build.xml depends on. =A0We wrote ant jar, but not ant debug. =A0We >>> have to go in and see what's changed in the build script so we can get >>> ant to compile. >>> >>> It's a ant script issue that is going to be a pain to resolve, and >>> it's what I'm working on tomorrow. =A0For the meantime, if you want >>> things to compile, don't upgrade to r20 of the Android SDK. =A0It'd be >>> nice to remove the dependency on the SDK, but we weren't expecting for >>> things to fail so badly. >>> >>> Joe >>> >>> On Wed, Jun 27, 2012 at 8:55 PM, Lorin Beer wrote: >>>> Hey Joe, >>>> >>>> silly question, but what version of ant are you running? Compiling to = a jar is broken, but not debug/release? >>>> >>>> - Lorin >>>> >>>> On 2012-06-27, at 5:19 PM, Joe Bowser wrote: >>>> >>>>> Hey >>>>> >>>>> I foolishly upgraded my tools today, and the current ant files are >>>>> borked. You can't build a jar for Cordova right now with r20. =A0This >>>>> means that I haven't been able to test anything today because of this >>>>> issue. I tried an ant debug and that worked fine, so I'm guessing >>>>> Goole changed the steps again, so I'm going to go spelunking in the >>>>> build.xml tomorrow. >>>>> >>>>> But whatever you do, don't upgrade just yet!!! =A0Things are still br= oken! >>>>> >>>>> Joe >>>>