[ 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org