Cocos2d-x configuration can refer to: http://www.cnblogs.com/TerryBlog/archive/2012/10/27/2742501.html
Cocos2d-x android can't resolved coscos2dx library is a bug that occurs when creating the cocos2d-x andrid project, stackoverflow solution:
In cocos2d-x 2.0.3 .. Cocos2d-x lib java files has been considered as a different project only so import that project in the eclipse
Lets make it simple
- First import the project in eclipse from this path-cocos2d-2.0-x-2.0.3/cocos2dx/platform/Android/Java
You will see libcocos2dx project in eclipse... keep this project open always otherwise your projects will give error on the syntax of Library
Run create-Android-Project
Now import the project which you have created and just run (if you know the concept of islibrary then that's how they are maintaining it now ..)
Also additional information to run build-native.sh from Eclipse only, right click Project-> C/C ++ build uncheck use default build command and add following bash $ {workspace_loc: /yourprojname}/build_native.sh ndk_debug = 1 V = 1
Good luck .. if any question please feel free to ask
Is to first load the cocos2d-2.0-x-2.0.3/cocos2dx/platform/Android/Java in the project, then you can.
Right-click the project and run it. the Cocos startup screen is displayed on the mobile phone.