Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.5.0
-
None
-
OSX
Description
Hi, when trying to add the android platform into my cordova 2.5 project tree, here is what I get:
[MacBook-Pro-de-Philippe-Lang crfr]$ cordova platform add ios android
[Error: An error occured during creation of android sub-project. cp: /opt/local/lib/node_modules/cordova/lib/cordova-android/framework/assets/www/cordova-2.5.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...
]
A closer look at this showed me that the needed file is actually here:
/opt/local/lib/node_modules/cordova/lib/cordova-android/framework/assets/js/cordova-android.js