Skip to content
Daniele Ricci edited this page Jul 17, 2015 · 1 revision

Kontalk uses the Gradle build system, officially supported by Google.

Download Kontalk from sources using git:

git clone https://github.com/kontalk/androidclient.git
cd androidclient
git submodule update --init

Setup a Java keystore for signing. You can look for any tutorial on the Internet about it, here is one.
Set these environment variables:

RELEASE_STORE_FILE=/path/to/the/keystore/file
RELEASE_STORE_PASSWORD=keystore_password
RELEASE_KEY_ALIAS=alias_of_signing_key
RELEASE_KEY_PASSWORD=password_of_signing_key

Then run this command to assemble a release apk:

./gradlew assembleBasicRelease

Replace Basic with Googleplay if you want the Google Play version with push notifications.

You will find the assembled apk inside app/build/outputs/apk/app-flavor-release.apk.

Clone this wiki locally