Book Image

Libgdx Cross-platform Game Development Cookbook

Book Image

Libgdx Cross-platform Game Development Cookbook

Overview of this book

Table of Contents (20 chapters)
Libgdx Cross-platform Game Development Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Releasing your Libgdx game on Android


It has been a long way till here. You are now about to generate an Android Application PacKage (apk) file for your own game. Fortunately, the hardest part is done and creating it is quite easy.

You will also discover some features to explore that Google provides to enrich your game experience as much to players as to developers.

Getting ready

All you need to go further on this recipe is a Libgdx Android project, for instance, samples-android along with the core one, such as samples-core. Make sure you have the Android Development Tools (ADT) plugin installed in your Eclipse IDE. It is available at http://developer.android.com/sdk/installing/installing-adt.html.

How to do it…

Once the environment is properly set up, the process is quite simple:

  1. Right-click on your Android project. Then, click on Export. Go to Android | Export Android Application. Then, click on Next.

  2. In the current window, just check that the selected project is compatible with Android. Click...