This document describes how to run a simple 'HelloWorld' sample under NDK with Windows (using Cygwin), or Linux. Your NDK version must be r5 or above.
www.cocos2d-x.org