I had some trouble getting create-android-project.bat to run on my win7 system.
I was getting permission errors when the script started copying files:
/cygdrive/c/cocos2d-x/template/android/copy_files.sh: line 60: /cygdrive/c/cocos
2d-x/Sample3/android/jni/helloworld/Android.mk: Permission denied
Some fiddling I showed, that the files copied from the HelloWorld project did not have any file permissions set anymore. I finally changed lines 56+57 of /template/android/copy_files.sh to keep the attributes, i.e. cp -prf […]
You might want to include that in your version, too, if you have problems
i had the same problem but i resolved it by adding permission to use the files, also had the same problem when using build_native.sh with some .a file.
just add permissions to the files that get an error when running build_native.sh after creating a new project. in my case i had to add permission to android\obj\local\armeabi\libgnustl_static.a