I have faced similar problems before make sure that you put cocos2d-x in a FAT file system as NTFS has some problems with cocos2d-x and also no spaces should be present between the folder names of NDK,SDK and cocos2d .
I have the same problem before I had change my computer…
And I think you may try to use the Administrator account to login your computer(win 7).
It may change something…
I had the same problem! Just go to the cocos2d-x folder settings and give all permisions to all users for all included folders. If to say easly just give to the folder and all includers 777 rights.
permission issue solved.
solutions I followed:
1)go to start menu and open cmd as administrator
2)navigate to create-android-project.bat and run
3)same for cyg terminal(go to start menu open cyg terminal as administrator)
4)if again any permission denied issue for any file/folder is found :
**open the properties of that file/folder
**in general tab, clear read only checkbox
**in security tab, press edit button and set full control checkbox for all users.
**then try again(1 or 3 step).