cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-3614) can't add android platform without "sudo"
Date Wed, 05 Jun 2013 19:20:20 GMT

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

Filip Maj resolved CB-3614.
---------------------------

    Resolution: Fixed

Fixed bootstrap, which should now warn users appropriately and provide command to run if cli
is installed globally in node with sudo.

Pushing this as npm version 2.8.6, should be available in a few minutes.
                
> 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

Mime
View raw message