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 A34FD11306 for ; Thu, 18 Sep 2014 18:11:22 +0000 (UTC) Received: (qmail 82338 invoked by uid 500); 18 Sep 2014 18:11:22 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 82296 invoked by uid 500); 18 Sep 2014 18:11:22 -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 82277 invoked by uid 99); 18 Sep 2014 18:11:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 18:11:21 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of csantana23@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-wg0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 18:10:56 +0000 Received: by mail-wg0-f49.google.com with SMTP id m15so1310601wgh.32 for ; Thu, 18 Sep 2014 11:10:55 -0700 (PDT) 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=iWJDodSulLuhe9SeffCLMQ3d3H+H5tuPZ8WVvcQmEcE=; b=wyjArcAEQD8UZ9DrB5FGgGLfZXHjbo3GwQbd0XoOmg3UfDiu1PDfMXpEcc5DI0zCVN pVUuTSlfgHDL2mhUmuK8hKlg+ZIUYKr1aIj3WIoDdbUw1/ELF97NO0CrcC7m3j7sZcQy f08AGORcAj+u6N6VB/+RB1E8wZsKjAQdYrBhFc+FFgz9TqEKz5QI713pCaXKO+hlzjJD ZZevo9AtcrsYsIgDunWbNlKBeu9HJV5gPniobtGogPuvDgR8k2QYaP9pcHR0viz7y4oK 1qgNbW2qnJoa98E2sUwvxgJLlrwxqMRkGINrbU7i1e29W2M0NgScGw8ZTqnNuDYLYGOT 1Ndw== MIME-Version: 1.0 X-Received: by 10.194.236.35 with SMTP id ur3mr4933782wjc.127.1411063855287; Thu, 18 Sep 2014 11:10:55 -0700 (PDT) Received: by 10.194.13.1 with HTTP; Thu, 18 Sep 2014 11:10:55 -0700 (PDT) In-Reply-To: <000001cfd33a$c44517a0$4ccf46e0$@gmail.com> References: <000001cfd33a$c44517a0$4ccf46e0$@gmail.com> Date: Thu, 18 Sep 2014 14:10:55 -0400 Message-ID: Subject: Re: Downloading the 3.5.1 cordova files for android when building the project From: Carlos Santana To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=089e013d1a48d9945805035ae757 X-Virus-Checked: Checked by ClamAV on apache.org --089e013d1a48d9945805035ae757 Content-Type: text/plain; charset=UTF-8 Don't be confuse by the version number of cordova. In your case cordova command line interface (cordova-cli) with the command "cordova" is version 3.5.0-0.2.7 The android platform "files for cordova-android" is version 3.5.1 and yes it's OK to have cordova cli at version 3.5.x-x.x.x and cordova-android 3.5.x Check your PATH and that android and ant are setup correctly, and that you can type "android sdk" and download Android API level 19. If you did all this then open an issue with more info about your environment at http://issues.cordova.io On Thu, Sep 18, 2014 at 8:19 AM, naidu wrote: > I am developing an app using cordova 3.5.0 by using android-4.4.2 with an > api level 19. > > It was working fine till morning but suddenly i am getting the following > error, > > I know that the cordova 3.5.1 got released. I did not update my cordova > version also and i have checked the version which is still 3.5.0-0.2.7. > > > > Can any body have any idea regarding this error? > > > > D:\ClonedMobWorkspace\mobiledev>cordova platform add android > > Creating android project... > > > > > > C:\Users\Admin\.cordova\lib\android\cordova\3.5.1\bin\node_modules\q\q.js:12 > 6 > > throw e; > > ^ > > Error: Please install Android target 19 (the Android newest 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. > > at > > C:\Users\Admin\.cordova\lib\android\cordova\3.5.1\bin\lib\check_reqs.js:80:2 > 9 > > at _fulfilled > > (C:\Users\Admin\.cordova\lib\android\cordova\3.5.1\bin\node_modules\q\q.js:7 > 98:54) > > at self.promiseDispatch.done > > (C:\Users\Admin\.cordova\lib\android\cordova\3.5.1\bin\node_modules\q\q.js:8 > 27:30) > > at Promise.promise.promiseDispatch > > (C:\Users\Admin\.cordova\lib\android\cordova\3.5.1\bin\node_modules\q\q.js:7 > 60:13) > > at > > C:\Users\Admin\.cordova\lib\android\cordova\3.5.1\bin\node_modules\q\q.js:57 > 4:44 > > at flush > > (C:\Users\Admin\.cordova\lib\android\cordova\3.5.1\bin\node_modules\q\q.js:1 > 08:17) > > at process._tickCallback (node.js:419:13) > > Error: > C:\Users\Admin\.cordova\lib\android\cordova\3.5.1\bin\create.bat: > Command failed with exit code 8 > > at ChildProcess.whenDone > > (C:\Users\Admin\AppData\Roaming\npm\node_modules\cordova\node_modules\cordov > a-lib\src\cordova\superspawn.js:135:23) > > at ChildProcess.emit (events.js:98:17) > > at maybeClose (child_process.js:755:16) > > at Process.ChildProcess._handle.onexit (child_process.js:822:5) > > > > If you see error above somehow it is downloading 3.5.1 when adding the > platform even my installed version is 3.5.0-0.2.7. I am not able to add the > android platform even I have api level-19 tools. > > -- Carlos Santana --089e013d1a48d9945805035ae757--