I am trying to set up Cocos2d-x for Android in Windows using python, but my ROOT values give me an error.
My path to my ndk folder is: C:\Users\user\AppData\Local\Android\ndk\android-ndk-r11
When I try to run setup.py is asks "Please enter the path of NDK_ROOT: ". I enter in my path to the ndk but it then says: "Error: "ndk folder path here" is not a valid path of NDK_ROOT. Ignoring it.
I have also tried manually entering it in my environmental variables, but it still does not work. What is my error here?
My adk folder contains the following:
Edit:
I have now gotten the NDK to accept on the build folder in my previous location, but there is still an issue with the NDK when I try to create a project.
There are some changes made on the new NDK r11 release and some tools were moved to different folders, I guess cocos2d-x scripts need to be updated to support the latest NDK release. You can wait for a new cocos2d-x release or use the previous NDK (r10e) version.