Permission denied when trying to build an Android base project

Hi all! I’m trying to build an apk from command line (Cygwin) through a makefile but I can’t make it work. This is the makefile:

all:
	./build_native.py
	ant -Dsdk.dir=...\sdk debug
run:
	adb -d uninstall com.mangoprotocol.testgame
	adb -d install bin/TestGame-debug.apk
	adb -d logcat | grep cocos2d
clean:
	rm -rf libs/
	rm -rf obj/
	rm -rf bin/*
	rm -rf gen/
	rm -rf assets/*

The output in Cygwin is:

$ make
./build_native.py
make: execvp: ./build_native.py: Permission denied
makefile:2: recipe for target 'all' failed
make: *** [all] Error 127

And if I try to launch the python script from Windows command line (cmd) I get this error:

File “…e\proj.android\build_native.py”, line 25
print “Can’t know cpuinfo, use default 1 cpu”
^
SyntaxError: invalid syntax

Any idea on how to solve this? Thanks in advance!

I have met similar problem in Windows7, change into your project directory(windows command line),use commands below:
icacls * /t /grant:r everyone:f
takeown /f * /a /r

Good luck!

I have met the similar problem too(File “…e\proj.android\build_native.py”, line 25
print “Can’t know cpuinfo, use default 1 cpu”
^
SyntaxError: invalid syntax),can you show me how to solve ?

for the same error - print “Can’t know cpuinfo, use default 1 cpu”
did not help this comand lines…
icacls * /t /grant:r everyone:f
takeown /f * /a /r