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 14620D081 for ; Mon, 19 Nov 2012 19:26:59 +0000 (UTC) Received: (qmail 81913 invoked by uid 500); 19 Nov 2012 19:26:58 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 81888 invoked by uid 500); 19 Nov 2012 19:26:58 -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 81880 invoked by uid 99); 19 Nov 2012 19:26:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 19:26:58 +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 bowserj@gmail.com designates 209.85.223.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 19:26:52 +0000 Received: by mail-ie0-f175.google.com with SMTP id qd14so1773635ieb.6 for ; Mon, 19 Nov 2012 11:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=/xuVkN48vp0B5D/IKEsOhc7NsTCguJGZABrn6JqtH+o=; b=wFaRV7sYAqk1lB+dTD483MrpcXtNg1VVoKK8ptmWLdMycwj3QJwgv0MEFjpSsZDCfV 6iaFFlZt8k2dLg2Nb2PcOrNl9ZQknrcu9+aiCVse2z1lfXhfIuhh0h4JWIBIzn8CHxSu 2TvOOGDOSj4wAWoHF85cEtARByyPcw/OgTWlEC0X/v70j11eY7TBQyoBrhwqfOa72Nnz bhgE0nV/09M9WK0wICY5nEbZdjx4eiszDCZTjneLwMP2kYVgeIKgbOTaYfYOHffSwco8 4wA4p67/TApJry9CpUZ3tqcWgJkd/38Dd5PwSH8DZOf7atElkueeKaH7BNa6UBWLnpYn rjBw== MIME-Version: 1.0 Received: by 10.50.33.138 with SMTP id r10mr7742090igi.6.1353353191970; Mon, 19 Nov 2012 11:26:31 -0800 (PST) Received: by 10.64.65.201 with HTTP; Mon, 19 Nov 2012 11:26:31 -0800 (PST) In-Reply-To: <61288611-3B9B-4F06-987E-1B2B717AA0FE@gcrc.carleton.ca> References: <61288611-3B9B-4F06-987E-1B2B717AA0FE@gcrc.carleton.ca> Date: Mon, 19 Nov 2012 11:26:31 -0800 Message-ID: Subject: Re: Getting Started with Android on Windows From: Joe Bowser To: dev Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org That's a known issue with the current release, and is fixed in the current repository. I recommend using the pre-compiled JARs for now. On Mon, Nov 19, 2012 at 11:22 AM, Amos Hayes wrote: > > Thanks Filip. > > On OSX, the relevant bits are: > > -compile: > [javac] Compiling 56 source files to /Users/ahayes/Documents/cordova-2.2.0/incubator-cordova-android/framework/bin/classes > [javac] /Users/ahayes/Documents/cordova-2.2.0/incubator-cordova-android/framework/src/org/apache/cordova/CordovaWebView.java:231: cannot find symbol > [javac] symbol : method setNavDump(boolean) > [javac] location: class android.webkit.WebSettings > [javac] settings.setNavDump(true); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] 1 error > > -- > Amos Hayes > > > > On 2012-11-19, at 2:18 PM, Filip Maj wrote: > >> You can cd into the framework/ directory and run "ant jar" to get a better >> idea of what is failing. That's the task that compiles the jar. >> >> On 11/19/12 11:15 AM, "Amos Hayes" wrote: >> >>> >>> FYI. I have been just been through the same steps on OS X. (replaced my >>> 4.1 SDK with the 4.2 one, downloaded Cordova 2.2.0 package) >>> >>> Looks like the cordova jar isn't building with the Android 4.2 SDK (and I >>> guess on Windows it's not reporting the error when it can't copy it) >>> >>> Moog2:incubator-cordova-android ahayes$ cd bin >>> Moog2:bin ahayes$ ./create ../../../Test com.example.test Test >>> cp: >>> /Users/ahayes/Documents/cordova-2.2.0/incubator-cordova-android/framework/ >>> cordova-2.2.0.jar: No such file or directory >>> An error occurred. Deleting project... >>> >>> -- >>> Amos >>> >>> >>> >>> On 2012-11-19, at 1:20 PM, Amos Hayes wrote: >>> >>>> >>>> Thanks for your response. >>>> >>>> No. There is no cordova-2.2.0.jar in the libs directory. I just tried >>>> again with a freshly created project and it isn't there, even before >>>> adding to eclipse. >>>> >>>> -- >>>> Amos >>>> >>>> >>>> >>>> On 2012-11-19, at 12:59 PM, Anis KADRI wrote: >>>> >>>>> AppInfo.jar is not necessary. It is only used by the cordova commands. >>>>> Do you have cordova-2.2.0.jar in your libs directory ? >>>>> >>>>> >>>>> On Mon, Nov 19, 2012 at 9:54 AM, Amos Hayes >>>>> wrote: >>>>> >>>>>> Hello. I've just downloaded the latest windows ADK 4.2 package for >>>>>> windows >>>>>> (which includes an eclipse environment) from developer.android.com >>>>>> and the >>>>>> Cordova 2.2.0 packages. >>>>>> >>>>>> I have followed the windows getting started guide. Well, more or >>>>>> less. I >>>>>> found >>>>>> >>>>>> >>>>>> http://simonmacdonald.blogspot.ca/2012/11/getting-create-command-to-wor >>>>>> k-on.htmlafter >>>>>> the fact and suggest that it does a bit better job for any windows >>>>>> users who aren't also familiar with unix-ish systems. >>>>>> >>>>>> Anyway, after creating the project at the command line (and telling >>>>>> it to >>>>>> locate the project in my ADK/Eclipse "workspace" folder, I was not >>>>>> able to >>>>>> File -> New -> Project... -> Android Project from Existing Code. It >>>>>> complained of an "Invalid project description." I was able to get >>>>>> around >>>>>> this problem by creating the project outside my workspace folder and >>>>>> then >>>>>> choosing to copy it in when adding it to Eclipse. Weird. >>>>>> >>>>>> Anyway, where I'm stuck now is with a persistent "The import >>>>>> org.apache.cordova cannot be resolved" error (along with other later >>>>>> ones >>>>>> which I have to assume are a result of that first one. I have tried >>>>>> cleaning the project and adding cordova/AppInfo.jar to the build path >>>>>> but >>>>>> I'm not having any luck. >>>>>> >>>>>> Any suggestions? Wish I knew more about java... but if I did I might >>>>>> not be >>>>>> trying to use Cordova in the first place. :) >>>>>> >>>>>> -- >>>>>> Amos >>>>>> >>>> >>> >> >