mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-15 20:48:39 -05:00
26 lines
599 B
Bash
26 lines
599 B
Bash
#!/bin/bash -
|
|
|
|
COMPONENTS="
|
|
tools
|
|
platform-tools
|
|
build-tools-21.1.2
|
|
android-21
|
|
extra-android-m2repository
|
|
extra-android-support
|
|
extra-google-m2repository"
|
|
|
|
echo "Updating packages..."
|
|
sudo apt-get update -qq
|
|
|
|
echo "Installing Android dependencies..."
|
|
sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch
|
|
|
|
wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
|
|
tar -zxf android-sdk_r23.0.2-linux.tgz
|
|
|
|
for COMP in ${COMPONENTS}
|
|
do
|
|
echo "Installing Android component: $COMP"
|
|
echo "yes" | android-sdk-linux/tools/android update sdk -u -a -t ${COMP} > /dev/null
|
|
done
|