You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2013/02/18 23:29:12 UTC

[jira] [Resolved] (CB-2445) Can't add Android platform

     [ https://issues.apache.org/jira/browse/CB-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj resolved CB-2445.
---------------------------

       Resolution: Fixed
    Fix Version/s: 2.5.0

I've added a bit better global-install detection into the scripts:

https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;a=commit;h=b9d9837e36565a6447e5272d406843ee031cae2a

It'll print out a giant warning with specific instructions on what to run from here on out if a root-accessibly-only install location is detected.
                
> 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
>             Fix For: 2.5.0
>
>
> 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