-
Notifications
You must be signed in to change notification settings - Fork 2
Building the Android Client
The Android client can be built from the web editor. In some cases, building a book manually on the command line is more convenient, so the client also supports manual building. Follow these steps to build a book for Android:
Create a properties file with all needed property values. An example can be found in storyquest.properties.example. The properties file contains values that are also editable using the Projects
view in the web editor. make sure the paths to the template and your project are correct. If they do not match your setup, you will end up with an "empty" book with no content.
Setup your signing keystore and metadate. Set environment variables according to your settings:
export KEYSTORE=/path/to/keystore
export STORE_PASSWORD=password
export KEY_ALIAS=keyalias
export KEY_PASSWORD=password
These settings can also be added to the properties file, but environment variable settings override settings in the properties.
Build the release in the client directory using:
$ ./gradlew -Dorg.gradle.project.StoryQuestSettings=/path/to/the/properties.file clean assembleRelease
The resulting APK can be found in app/build/output/apk.
Copyright © 2016 Questor GmbH. Licensed under the MIT License.