Cocos2d-x Android install and build

Installation guide

Building from the command line:

  • Find out targets (Android API levels) you can build for by running:
    android list targets

    in sdk/tools (sdk is the directory where the Android sdk is installed).

  • Enter the build directory within the cocos2d-x directory and run:
    python android-build.py -p targetapi cpp-tests

The first build for a project takes quite a while, but subsequent builds are quick.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s