setup CoCos2d-x project
一、
建立一个新的cocos2d-x project
--> 在ubuntu下面,建立编译环境的文章:
http://blog.csdn.net/jamesjiangchn/article/details/8734586
-->
copy the java lib into the new project
二、从coscos2d-x 已经有的Project 创建项目
example:
->
cd cocos2d-x-2.1.4/samples/Cpp/TestCpp/proj.android
->
edit build_native.sh, write you NDK path here
NDK_ROOT=~/bin/android-nkd-r8e
-->
./build_native.sh
this will build the code in ../Classes according to ../Android.mk file
and install the so lib into the libs/
-->
launch the eclipse, create the project from exsiting code base