cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brooks (JIRA)" <>
Subject [jira] [Commented] (CB-4074) Error when adding android platform on Windows 7
Date Wed, 10 Jul 2013 16:53:48 GMT


Michael Brooks commented on CB-4074:

Awesome, it looks as though [~textoo] has figured out one issue. Anyone running into this
in the future should try to first delete their {{~/.cordova/lib/android/cordova/2.9.0/}} directory.
The download may have been corrupt or the library may have been installed with permissions
that the regular user cannot read.

I'm leaving this issue open for [~ldeluca]'s issue around the Android SDK.

For what it's worth, I am using the Android ADT-Bundle on Windows 7. It appears to be the
only SDK download option.

[~ldeluca] can you run either of these commands from the command-line:

- {{android -h}}
- {{android list target}}
> Error when adding android platform on Windows 7
> -----------------------------------------------
>                 Key: CB-4074
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>         Environment: Windows 7
>            Reporter: Lisa Seacat DeLuca
>            Assignee: Benn Mapes
> I got past the issue where I wasn't able to install cordova on my windows 7 machine.
 I create a new project just fine but when I tried to add android as a platform I see the
following error:
> C:\workspaces\cordovacli\helloworld>cordova platform add android
> shell.js: internal error
> Error: EPERM, operation not permitted 'C:\Users\me\.cordova\lib\android\cordova\2.9.0\cordova-android-2.9.0-df1536e\test'
>     at Object.fs.renameSync (fs.js:543:18)
>     at C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:487:8
>     at Array.forEach (native)
>     at Object._mv (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:463:11)
>     at (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\shelljs\shell.js:1471:23)
>     at Extract.<anonymous> (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\src\lazy_load.js:115:43)
>     at Extract.EventEmitter.emit (events.js:117:20)
>     at DirWriter.<anonymous> (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\lib\extract.js:66:8)
>     at DirWriter.EventEmitter.emit (events.js:117:20)
>     at end (C:\Users\me\AppData\Roaming\npm\node_modules\cordova\node_modules\tar\node_modules\fstream\lib\writer.js:323:12)
> --------------
> note: I can use eclipse and create an android project with no problem and test on devices
and emulators.

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:

View raw message