Signing Your Game's APK

After you have successfully registered as an official Android developer, it's time to prepare your application for publishing. In order to publish your application, you have to sign the APK file. Before you do that, you should make sure everything is in place. Here's a laundry list of things to do before signing the application:

  • Remove the android:debuggable attribute from the <application> tag in your manifest file.
  • In the <manifest> tag, you'll find the android:versionCode and android:versionName attributes. If you have already published a previous version of your application, you must increase the versionCodeattribute, and you should also change the versionName. The versionCode attribute has to be an integer; the ...

Get Beginning Android 4 Games Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.