Hi, I try to develop android games on MAC, but I’m a new to MAC OS.
I installed eclipse with CDT and ADT, I can compile android apps, but when I try to compile a cocos2d-x game, I receive the following error:
bash /Users/sociedademineiradeculturapucminasvirtual/fabio/programas/cocos2d-x-2.2.0/samples/Cpp/Shuriken/proj.android/build_native.sh NDK_ROOT not defined. Please define NDK_ROOT in your environment or in local.properties
I add the NDK_ROOT path inside Eclipse configuration in Preferences
> Android> NDK, but it’s noit working.
How I can define NDK_ROOT inside the local.properties file? How I can define the NDK_ROOT in MAC OS?