create-android-project.bat is issuing errors after creating the android project.

Hello,

I am trying to create an android project in windows.
I have set the paths for android-tools and android ndk in the android-create-project.bat and everything
is working fine it asks for package name,id and project name .
Then it issues errors like :

/cygdrive/d/cocos2d-1.0.1-x-0.13.0-beta/template/android/gamemk.sh: line 33: /cygdrive/d/cocos2d-1.0.1-x-0.13.0-beta/cocos2d_android_project/android/jni/Android.mk: Permission denied
sed: can’t read /cygdrive/d/cocos2d-1.0.1-x-0.13.0-beta/cocos2d_android_project/android/src/org/cocos2dx/application/ApplicationDemo.java: Permission denied
rm: cannot remove `/cygdrive/d/cocos2d-1.0.1-x-0.13.0-beta/cocos2d_android_project/android/src/org/cocos2dx/application’: Permission denied
Press any key to continue . . .

Please if any one knows about this error , please fix me. Thankyou.

Sounds like file permissions for the current user are not allowing you to edit.

Try editing the permissions for the folder to allow full control for everyone (Right click on unzipped folder, Properties, Security)
or
Move the folder to another place and try again!

Hey srikanth I’m getting same issue, if you had resolved the issue please do let me know.

Regards,
Karan