Search code examples
androidcocos2d-android

Setup environment for android sdk to run cocos2d sample programs.


I want to install cocos2d to develop game in android .. so can anyone help me how to install that on android sdk ?

Please Suggest me steps to install it....

if any other tool is available for android development then please suggest me ..

Thanks ..


Solution

  • After downloading cocos2d from the link mentioned in above answer you need to do the following to integrate cocos2d in you project:

    • Import cocos2d in workspace.
    • Go to project properties and mark cocos2d as library.
    • Create now your project and add cocos2d library in project properties.
    • If you are using box2d maybe you had to add .so to your project like cocos(libs/...).

    Now you can write your game. Also you can include all sources into your project, and no need in any cocos2d jar. The above steps are mentioned at http://code.google.com/p/cocos2d-android-1/wiki/Using