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 490C417A22 for ; Wed, 25 Feb 2015 19:10:06 +0000 (UTC) Received: (qmail 55127 invoked by uid 500); 25 Feb 2015 19:10:06 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 55108 invoked by uid 500); 25 Feb 2015 19:10:06 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 55093 invoked by uid 99); 25 Feb 2015 19:10:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2015 19:10:06 +0000 Date: Wed, 25 Feb 2015 19:10:06 +0000 (UTC) From: "Omar Mefire (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CB-8447) 'cordova platform update android@3.7.1' fails 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-8447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14336995#comment-14336995 ] Omar Mefire edited comment on CB-8447 at 2/25/15 7:09 PM: ---------------------------------------------------------- Another way to temporarily workaround this issue would be to make use of the current code in the master branch of cordova-lib, since in it this issue is fixed. I would try the following: - backup project - create a temp directory and clone the latest cordova into it : * mkdir ~/temp * cd ~/temp * git clone https://github.com/apache/cordova-cli.git (this clones cordova-cli) * edit ~/temp/cordova-cli/package.json (under dependencies section) to point to the current master where this bug is fixed : -- change "cordova-lib" : "4.0.0" to "cordova-lib": "https://github.com/apache/cordova-lib.git", * inside ~/temp/cordova-cli, run 'npm install' * cd ~/hello-project * inside your project, run 'update' using the latest version of cordova-lib you just cloned : ~/temp/cordova-cli/bin/cordova platform update android@3.7.1 [I think this method would help maintain your pre-existing platforms and plugins] Let me know if this works for you. was (Author: omefire): Another way to temporarily workaround this issue would be to make use of the current code in the master branch of cordova-lib, since in it this issue is fixed. I would try the following: - backup project - create a temp directory and clone the latest cordova into it : * mkdir ~/temp * cd ~/temp * git clone https://github.com/apache/cordova-cli.git (this clones cordova-cli) * edit ~/temp/cordova-cli/package.json (under dependencies section) to point to the current master where this bug is fixed : -- change "cordova-lib" : "4.0.0" to "cordova-lib": "https://github.com/apache/cordova-lib.git", * inside ~/temp/cordova-cli, run 'npm install' * cd ~/hello-project * ~/temp/cordova-cli/bin/cordova platform update android@3.7.1 [I think this method would help maintain your pre-existing platforms and plugins] Let me know if this works for you. > 'cordova platform update android@3.7.1' fails > --------------------------------------------- > > Key: CB-8447 > URL: https://issues.apache.org/jira/browse/CB-8447 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib > Reporter: Omar Mefire > > [This issue is resolved in the current master branch] > In cordova-lib@4.2.0, The following sequence of operations fails : > - cordova platform add android@3.5.0 > - cordova platform update android@3.7.1 > The error message is : "Platform "android@3.7.1" is not installed. See `cordova platform list`." -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org