[Android] Download SDK using sdkmanager
Jean-Baptiste Kempf
git at videolan.org
Mon Dec 19 14:54:06 CET 2016
vlc-android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec 19 14:53:10 2016 +0100| [c54bea06742e2b6aeca8c25ad108e3710e26333b] | committer: Jean-Baptiste Kempf
Download SDK using sdkmanager
> https://code.videolan.org/videolan/vlc-android/commit/c54bea06742e2b6aeca8c25ad108e3710e26333b
---
compile.sh | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/compile.sh b/compile.sh
index 81fb5e6..fc5e540 100755
--- a/compile.sh
+++ b/compile.sh
@@ -158,6 +158,12 @@ if [ ! -f local.properties ]; then
echo ndk.dir=$ANDROID_NDK >> local.properties
fi
+# Download build tools, Android SDK version & Android AppCompat
+for i in "build-tools;25.0.2" "platforms;android-24" "extras;google;m2repository"; do
+ echo "Downloading $i"
+ $ANDROID_SDK/tools/bin/sdkmanager $i
+done
+
####################
# Fetch VLC source #
####################
More information about the Android
mailing list