From aa56b7fca915e618e74a0155d9a9ed46561693cb Mon Sep 17 00:00:00 2001 From: lubomyr Date: Mon, 1 Jan 2018 21:24:10 +0200 Subject: ANDROIDSDL: updated how_to_build instructions. Latest NDK r16b not supported by pelya(s) libSDL, supported ndk version is r15c --- dists/androidsdl/How_to_Build.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'dists/androidsdl/How_to_Build.txt') diff --git a/dists/androidsdl/How_to_Build.txt b/dists/androidsdl/How_to_Build.txt index 16c485886d..0e5afb13ff 100644 --- a/dists/androidsdl/How_to_Build.txt +++ b/dists/androidsdl/How_to_Build.txt @@ -1,10 +1,12 @@ 1) At first, for building you need (64bit) linux. -2) Install Android SDK and NDK (You can unpack them into ~/android directory), and download required tools. +2) Install Android SDK and NDK (You can unpack them into ~/Android directory), and download required tools. - https://developer.android.com/ndk/downloads/index.html https://developer.android.com/studio/index.html (you can download GUI Android Studio with SDK (which installs from studio) or download command-line tools) + +At current moment (01.01.2018) latest NDK version r16b not supported by pelya's liBSDL, so you need to use previous version r15c + https://developer.android.com/ndk/downloads/older_releases.html Download this: @@ -29,9 +31,8 @@ Script: #!/bin/sh export ANDROID_HOME=~/Android/android-sdk - export ANDROID_NDK_HOME=~/Android/Sdk/ndk-bundle - export PATH=$ANDROID_NDK_HOME:$ANDROID_HOME/tools:$PATH - export PATH=$ANDROID_HOME/build-tools/25.0.2:$PATH + export ANDROID_NDK_HOME=~/Android/android-ndk-r15c + export PATH=$ANDROID_NDK_HOME:$ANDROID_HOME/tools:$PATH 5) Install packages, which needs for build: -- cgit v1.2.3