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

[jira] [Resolved] (CB-2272) can't add android to project

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

Filip Maj resolved CB-2272.
---------------------------

    Resolution: Unresolved

Still won't work.

When you install a node module globally it goes into /usr/local where you don't have permissions to move shit into unless you sudo. This is why on most systems you need to sudo to npm install -g. There's no getting around it. This is why I initially added that ./bin/notice script on install, to remind you to {{chown}} that shit.

Regardless, for 2.4.0rc1 support I will "vender" the libs in, so at least you don't have to download them. Hopefully it's not bigger than some maximum NPM size.
                
> can't add android to project
> ----------------------------
>
>                 Key: CB-2272
>                 URL: https://issues.apache.org/jira/browse/CB-2272
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.3.0
>         Environment: its actuall 2.3.6 but jira is rad
>            Reporter: Brian LeRoux
>            Assignee: Filip Maj
>
> #! cordova create Baz
> cd #! cd Baz/
> #! cordova platform add android
> The provided path is not an Android project.
> #! ls
> platforms	plugins		www
> #! ls platforms/
> #! cordova platform add ios
> #! ls
> platforms	plugins		www
> #! ls platforms/
> ios
> #! cordova platform add android
> The provided path is not an Android 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