You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: docs/development/build-android.md
+40-40Lines changed: 40 additions & 40 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,84 +16,84 @@ The main non-standard dependency needed for building LiveCode is a Java Developm
16
16
17
17
LiveCode requires both the Android Software Development Kit (SDK) and Native Development Kit (NDK). You can download both from the [Android Developers site](https://developer.android.com/sdk/index.html).
18
18
19
-
Extract both the NDK and SDK to a suitable directory, e.g. `~/android/toolchain`. For example, you would run:
19
+
Extract both the NDK and SDK to a suitable directory, e.g. `~/android/toolchain`. For example, for the following values of `<host>`
**Note:** If you are only interested in building one particular flavour
59
+
of Android engines, leave out the architectures you're not interested in
60
+
from the above commands.
61
+
62
+
### Final toolchain setup
48
63
49
64
Add a couple of symlinks to allow the engine configuration script to find the Android toolchain:
50
65
51
66
````bash
52
67
ln -s android-ndk-r15 android-ndk
53
-
ln -s android-sdk-linux android-sdk
68
+
ln -s android-sdk-<host> android-sdk
54
69
````
55
70
56
71
## Configuring LiveCode
57
72
58
73
### Build environment
59
74
60
-
The Android build expects a large number of environment variables to be set. If the environment variables aren't set, the build process will attempt to guess sensible defaults. If you've set up the directory structure as described above, the make command should detect everything automatically and these variables shouldn't be necessary.
75
+
The Android build expects a number of environment variables to be set. If the environment variables aren't set, the build process will attempt to guess sensible defaults. If you've set up the directory structure as described above, the make command should detect everything automatically and these variables shouldn't be necessary.
61
76
62
-
The following script will set up the environment variables correctly. You may need to edit it depending on where your JDK and ARM toolchain are installed:
77
+
The following script will set up the environment variables correctly. You may need to edit it depending on where your JDK and toolchain are installed:
0 commit comments