From 03344b0d9e5b6aa562016b0d422e1cd48bf8989a Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 20 Nov 2019 18:58:43 -0800 Subject: Android: update README to mention build container Signed-off-by: Dirk Hohndel --- packaging/android/README | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'packaging') diff --git a/packaging/android/README b/packaging/android/README index bda4aa4aa..c703bb587 100644 --- a/packaging/android/README +++ b/packaging/android/README @@ -11,7 +11,27 @@ Dependencies: 6. dependencies of libdivecomputer and subsurface - visit http://subsurface.hohndel.org/documentation/building/ -Steps to install: +By far the easiest way to do this is using the Android build container which is +used to create the official builds. That has all the dependencies ready and +makes things a lot easier. + +Run the docker image: docker://dirkhh/android-builder:5.13.01 + +Check out the sources inside the container, make sure the following links +are available in parallel to the source directory + + ln -s /android/Qt . + ln -s /android/android-ndk-r18b . + ln -s /android/android-sdk-linux . + +and run the build wrapper from the directory above the source directory + + bash -x subsurface/packaging/android/android-build-wrapper.sh + +This should create a pair of unsigned but otherwise working APKs (for 32 and 64 +bit ARM). + +Alternatively, steps to install using your own Linux machine: Step 0. Grab.. -- cgit v1.2.3-70-g09d2