O'Reilly logo

Cocos2d Cross-Platform Game Development Cookbook - Second Edition 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

Chapter 11. Porting to Android

The recipes we will cover are:

  • Installing the Android Xcode plugin
  • Enabling USB debugging on a device
  • Running the SpriteBuilder project on a device
  • Porting a project to Android
  • No Java runtime error
  • Provision profile error
  • Blank screen error
  • Useful resources

Introduction

SpriteBuilder allows you to build your game for both the iOS as well as Android platforms. Currently, it only supports Objective-C, although Swift support is in development.

However, you will need an Android device to run your project as an emulator is not supported to test android builds. It is also recommended that you buy a branded phone for testing purposes. You could get a Nexus or a Samsung series phone or tablet as they are widely used and well supported. ...

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