setup-android-sdk.sh: specify java installation

This commit is contained in:
Leonid Pliushch 2021-07-29 17:03:18 +03:00
parent b44048eb35
commit 746bb00a36
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -4,6 +4,8 @@ set -e -u
# Install desired parts of the Android SDK:
. $(cd "$(dirname "$0")"; pwd)/properties.sh
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
ANDROID_SDK_FILE=sdk-tools-linux-4333796.zip
ANDROID_SDK_SHA256=92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9
ANDROID_NDK_FILE=android-ndk-r${TERMUX_NDK_VERSION}-Linux-x86_64.zip