I think this is happening because of the space in the “Program Files” in the install directory of CodeWorks
ERROR: D:/Program Files (x86)/CodeWorks4Android/android-ndk-r12b/ndk-build.cmd
I read somewhere before that the path should not contain spaces. So basically you should not install it in Program Files folder
Try Installing the NVPACK in a different location a custom folder say called “NVPACK”
Like mine reads like D:\Me\Softwares\NVPACK (Notice no space)
Please make your necessary back-ups. This a just a suggestion solution. You will try it at your own risk, so do not blame me if you mess somthing up.
To do a clean re-install without downloading -
- Just copy the “CodeWorksforAndroid” folder which contains folders like “001”,“002” etc. to a location.
- Go to the install folder and run “uninstaller” program
- After finished Go to engine-version\Engine\Extras\AndroidWorks\Win64\CodeWorksforAndroid.
- Go through the wizard and download some small document in the “Chooser” and finish (others you can select “no action” option). (Make sure to change the default install location this time.)
- Restart the PC at the end of the wizard when pop-up asks you.
- Copy the CodeWorksforAndroid folder that you backed up in step one and overwrite the one in the newly installed folder.
- Run “Chooser” and install.
Cheers!