(If you follow my method is not this error, I used other methods of the time have but later still did not solve, write to put here for reference it)
Reference Original: http://blog.csdn.net/fuyongbing1986/article/details/11556149
Method:
1. Add Cygwin/bin to the system environment variable path
2. Right-click Project-->properties-->c/c++ Build-->toolchain Edit
Confirm options for right view: current Toolchain:no toolchain
Current Builder:android Builder
Android Ndk:jni/android.mk:cannot Find module with tag ' cocos2dx ' in Import path
Android ndk:are sure your ndk_module_path variable is properly defined?
Android ndk:the following directories were searched:
Android NDK:
JNI/ANDROID.MK:19: * * * Android ndk:aborting. . Stop.
Add a Ndk_module_path variable, note to write two paths, separated by semicolons
D:\sdk\cocos2d-2.0-rc0a-x-2.0;d:\sdk\cocos2d-2.0-rc0a-x-2.0\cocos2dx\platform\third_party\android\prebuilt
Because COCOS2DX also imports a few other module, the second path has a third-party module, set up can be compiled