2

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 ..

Jamie Hutton
  • 260
  • 3
  • 13
Chirag
  • 56,621
  • 29
  • 151
  • 198

2 Answers2

6

ya you can install cocos2d in android.....

First you download the cocos2d jar from

http://code.google.com/p/cocos2d-android-1/downloads/detail?name=cocos2d-android.jar&can=2&q=

Sample code is available in

https://github.com/ZhouWeikuan/cocos2d

droid kid
  • 7,569
  • 2
  • 32
  • 37
2

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

Chirag
  • 56,621
  • 29
  • 151
  • 198
Prerna
  • 365
  • 1
  • 6
  • 16