-
Notifications
You must be signed in to change notification settings - Fork 88
/
BUILD.txt
47 lines (25 loc) · 1.06 KB
/
BUILD.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Building Lumicall from the command line with Gradle:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Prerequisites:
- gradle version 2.2.1 in the PATH. You can download it from the
gradle website and unzip it to /opt. Then:
export PATH=/opt/gradle-2.2.1/bin:$PATH
- zlib (32bits). On 64bit Debian based systems this can be done
by installing lib32z1:
apt-get install lib32z1 lib32stdc++6
To build the project from the command line:
a) make sure you fetched the git submodules:
$ git submodule init
$ git submodule update
b) build the JNI code using the `ndk-build' tool
$ ${NDK_HOME}/ndk-build
c) set ANDROID_HOME to your SDK location, e.g.
$ export ANDROID_HOME=${HOME}/android/android-sdk-linux_86
d) make sure you create a properties file:
$ ln -s app.properties-prod assets/app.properties
e) build Lumicall itself (automatically builds submodules)
$ gradle assembleDebug
$ find . -name '*.apk'
f) for a release build, specify the name of the signing key in
an environment variable
$ SIGNING_KEY=release-key gradle assembleRelease