Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 35662E8E9 for ; Fri, 15 Feb 2013 17:03:13 +0000 (UTC) Received: (qmail 86888 invoked by uid 500); 15 Feb 2013 17:03:13 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 86867 invoked by uid 500); 15 Feb 2013 17:03:13 -0000 Mailing-List: contact issues-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 issues@cordova.apache.org Received: (qmail 86636 invoked by uid 99); 15 Feb 2013 17:03:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2013 17:03:12 +0000 Date: Fri, 15 Feb 2013 17:03:12 +0000 (UTC) From: "Filip Maj (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2445) Can't add Android platform MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13579322#comment-13579322 ] Filip Maj commented on CB-2445: ------------------------------- The root of this issue can be found by running: {code} $ cd /usr/local/lib/node_modules/cordova/lib/cordova-android/framework $ ant jar {code} What does it say? > Can't add Android platform > -------------------------- > > Key: CB-2445 > URL: https://issues.apache.org/jira/browse/CB-2445 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 2.4.0 > Environment: OSX > Reporter: David Stenbeck > Assignee: Filip Maj > Labels: add, android, cli, platform > > after a project is created I try to add ios and android as platforms. ios suceeds, android fails with: > cordova platform add android > [Error: An error occured during creation of android sub-project. cp: /usr/local/lib/node_modules/cordova/lib/cordova-android/framework/assets/www/cordova-2.4.0.js: No such file or directory > An unexpected error occurred: cp "$BUILD_PATH"/framework/assets/www/cordova-$VERSION.js "$PROJECT_PATH"/assets/www/cordova-$VERSION.js exited with 1 > Deleting project... > ] -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira