[
https://issues.apache.org/jira/browse/CB-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580622#comment-13580622
]
David Stenbeck edited comment on CB-2445 at 2/18/13 2:19 PM:
-------------------------------------------------------------
Buildfile:
/usr/local/lib/node_modules/cordova/lib/cordova-android/framework/build.xml
-check-env:
[checkenv] Android SDK Tools Revision 21.0.1
[checkenv] Installed at /Applications/adt-bundle-mac-x86_64/sdk
-setup:
[echo] Project Name: Cordova
[gettype] Project Type: Android Library
-pre-clean:
clean:
[delete] Deleting directory
/usr/local/lib/node_modules/cordova/lib/cordova-android/framework/bin
BUILD FAILED
/Applications/adt-bundle-mac-x86_64/sdk/tools/ant/build.xml:446: Unable to
delete file
/usr/local/lib/node_modules/cordova/lib/cordova-android/framework/bin/AndroidManifest.xml
Total time: 0 seconds
Guessing this has something to do with permissions?
was (Author: davst):
uildfile:
/usr/local/lib/node_modules/cordova/lib/cordova-android/framework/build.xml
-check-env:
[checkenv] Android SDK Tools Revision 21.0.1
[checkenv] Installed at /Applications/adt-bundle-mac-x86_64/sdk
-setup:
[echo] Project Name: Cordova
[gettype] Project Type: Android Library
-pre-clean:
clean:
[delete] Deleting directory
/usr/local/lib/node_modules/cordova/lib/cordova-android/framework/bin
BUILD FAILED
/Applications/adt-bundle-mac-x86_64/sdk/tools/ant/build.xml:446: Unable to
delete file
/usr/local/lib/node_modules/cordova/lib/cordova-android/framework/bin/AndroidManifest.xml
Total time: 0 seconds
Guessing this has something to do with permissions?
> 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
>
> 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