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 25296DD18 for ; Mon, 19 Nov 2012 19:18:46 +0000 (UTC) Received: (qmail 55462 invoked by uid 500); 19 Nov 2012 19:18:45 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 55430 invoked by uid 500); 19 Nov 2012 19:18:45 -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 55421 invoked by uid 99); 19 Nov 2012 19:18:45 -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:18:45 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fil@adobe.com designates 64.18.1.21 as permitted sender) Received: from [64.18.1.21] (HELO exprod6og108.obsmtp.com) (64.18.1.21) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Nov 2012 19:18:39 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob108.postini.com ([64.18.5.12]) with SMTP ID DSNKUKqF+S6pHSgaTowM8M8np1R7gb80fMrJ@postini.com; Mon, 19 Nov 2012 11:18:18 PST Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id qAJJIGHP001329 for ; Mon, 19 Nov 2012 11:18:16 -0800 (PST) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id qAJJIFXL010120 for ; Mon, 19 Nov 2012 11:18:15 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Mon, 19 Nov 2012 11:18:14 -0800 From: Filip Maj To: "dev@cordova.apache.org" Date: Mon, 19 Nov 2012 11:18:14 -0800 Subject: Re: Getting Started with Android on Windows Thread-Topic: Getting Started with Android on Windows Thread-Index: Ac3Gip9hAjLs3lDyQYq/BJq2time5A== Message-ID: In-Reply-To: <3015DEC1-49B3-43BC-88D4-60D96D782C46@gcrc.carleton.ca> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.4.120824 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 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:=20 >/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: > >>=20 >> Thanks for your response. >>=20 >> 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. >>=20 >> -- >> Amos >>=20 >>=20 >>=20 >> On 2012-11-19, at 12:59 PM, Anis KADRI wrote: >>=20 >>> 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 ? >>>=20 >>>=20 >>> On Mon, Nov 19, 2012 at 9:54 AM, Amos Hayes >>>wrote: >>>=20 >>>> 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. >>>>=20 >>>> I have followed the windows getting started guide. Well, more or >>>>less. I >>>> found >>>>=20 >>>>=20 >>>>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. >>>>=20 >>>> 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. >>>>=20 >>>> 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. >>>>=20 >>>> Any suggestions? Wish I knew more about java... but if I did I might >>>>not be >>>> trying to use Cordova in the first place. :) >>>>=20 >>>> -- >>>> Amos >>>>=20 >>=20 >