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/06/05 21:08:20 UTC

[jira] [Updated] (CB-3614) can't add android platform without "sudo"

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

Filip Maj updated CB-3614:
--------------------------

    Component/s:     (was: Android)
       Assignee: Filip Maj  (was: Joe Bowser)

This is definitely a CLI issue.

I am working through this.

IDEALLY, after installing the npm package with {{sudo}}, you should see a giant notification (see [these couple of lines of code|https://github.com/apache/cordova-cli/blob/master2/bootstrap.js#L47] for what you SHOULD see).

I just checked on my computer and I can confirm I do NOT see the notification. I am investigating.
                
> can't add android platform without "sudo"
> -----------------------------------------
>
>                 Key: CB-3614
>                 URL: https://issues.apache.org/jira/browse/CB-3614
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.8.0
>         Environment: Mac
>            Reporter: Mike Sierra
>            Assignee: Filip Maj
>
> These come after creating project:
> ulothrix:HelloWorld sierra$ cordova platform add android
> [Error: An error occured during creation of android sub-project. 
> BUILD FAILED
> /Users/sierra/dev/adt-bundle/sdk/tools/ant/build.xml:647: The following error occurred while executing this line:
> /Users/sierra/dev/adt-bundle/sdk/tools/ant/build.xml:699: Failed to create BuildConfig class
> Total time: 0 seconds
> An unexpected error occurred: ant jar > /dev/null exited with 1
> Deleting project...
> ]
> ulothrix:HelloWorld sierra$ sudo cordova platform add android
> ulothrix:HelloWorld sierra$ ls platforms/
> android

--
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