O'Reilly logo

Learning Cocos2d-x Game Development by Siddharth Shekar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running the game on the Android simulator using the Eclipse IDE

Making the game run on Android is a bit tedious; the process for BlackBerry and iOS is comparatively easier, but let's get into this first.

To run the game on Android, you will need the following:

  • Android SDK (ADT Bundle): This includes the Eclipse IDE and SDK
  • Android NDK: This is required to the compile the C++ code
  • JDK or JRE: This is required otherwise Eclipse won't work
  • Cygwin: This is needed to run the build command if you are running it on Windows; it is not required for Mac or Linux

Download the SDK for your platform from http://developer.android.com/sdk/index.html.

Running the game on the Android simulator using the Eclipse IDE

Once downloaded, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required