Android

Building Requirements

To build an Android app:

Download and Install JDK

If you don't already have JDK installed, download and install from the official JDK downloads page.

Generate Keystore

Generate a Keystore file (if you already don't have one). 

Use the keytool provided by the JDK:

keytool -genkey -v -keystore my.keystore -keyalg RSA -keysize 2048 -validity 10000 -alias app

Make sure to save the generated Keystore file and its password somewhere safe. You'll need them again if you ever decide to republish the app.

Sign

The last step is to sign the app with the previously generated Keystore. This is done using the jarsigner tool provided by JDK.

The Jarsigner tool can be found in:

  • Linux and MacOS:  /usr/bin/jarsigner
  • Windows: jdk/bin/jarsigner.exe

Use it like this:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my.keystore app.aab app

The signed ABB can be verified with:

jarsigner -verify app.abb

Publish App to the Google Play Store

Submit the Android app via the Play Store.