android - NDK_ROOT not found cocos2d-x in ubuntu14.04 -


i have problem cocos2d-x version 3.6 on linux.

i want create new console project using information found on this page.

when use command ./setup.py, following message:

`check environment variable ndk_root ->search environment variable ndk_root... ->ndk_root not found

->search command ndk-build in system... ->command ndk-build not found

->please enter path of ndk_root (or press enter skip): ->check environment variable android_sdk_root

->search environment variable android_sdk_root... ->android_sdk_root not found

->search command android in system... ->command android not found

->please enter path of android_sdk_root (or press enter skip): ->check environment variable ant_root ->search environment variable ant_root... ->ant_root not found

->search command ant in system... ->command ant not found

->please enter path of ant_root (or press enter skip):

please execute command: "source /home/jmuniz/.bashrc" make added system >variables take effect`

the problem not know the ndk_root, android_sdk_root , ant_root are.

if not sure ndk, android-sdk , ant path suggest download them , unzip them in safe location. restart setup.py again , use know path of each installation.

you can download them here:


Comments