mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 15:12:51 +08:00
230c635a54
The problem is with this line in "create.js": var ACTIVITY_PATH=PROJECT_PATH+'\\src\\'+PACKAGE_AS_PATH+'\\'+ACTIVITY+'.java'; [...] exec('%comspec% /c copy "'+ROOT+'"\\bin\\templates\\project\\Activity.java '+ ACTIVITY_PATH +' /Y'); The Windows "copy" command will not create directories that don't exist, so the command above fails because "src\PACKAGE_AS_PATH" doesn't exist. This can be fixed with: Also update cordova.js reference |
||
---|---|---|
.. | ||
templates | ||
tests | ||
check_reqs | ||
check_reqs.bat | ||
check_reqs.js | ||
create | ||
create.bat | ||
create.js | ||
create.xml | ||
package.json | ||
update | ||
update.bat | ||
update.js |