From b6d5dacd51bb7fcab417c40a7aa48f0a63693621 Mon Sep 17 00:00:00 2001 From: Jan Mulder Date: Thu, 6 Dec 2018 14:11:53 +0100 Subject: Android build: explicitly install using sdkmanager Make sure all required Android SDK components are explicitly installed before starting the actual build. Signed-off-by: Jan Mulder --- packaging/android/android-build-wrapper.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/android/android-build-wrapper.sh b/packaging/android/android-build-wrapper.sh index 16d50ce82..999cca221 100755 --- a/packaging/android/android-build-wrapper.sh +++ b/packaging/android/android-build-wrapper.sh @@ -83,6 +83,7 @@ if [ ! -d "$ANDROID_SDK"/build-tools/"${ANDROID_BUILDTOOLS_REVISION}" ] ; then unzip -q ../"$SDK_TOOLS" yes | tools/bin/sdkmanager --licenses > /dev/null 2>&1 || echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > licenses/android-sdk-license cat licenses/android-sdk-license + tools/bin/sdkmanager tools platform-tools 'platforms;'"${ANDROID_PLATFORMS}" 'build-tools;'"${ANDROID_BUILDTOOLS_REVISION}" echo "" else pushd "$ANDROID_SDK" -- cgit v1.2.3-70-g09d2