termux-packages/install-sdk.sh
Fredrik Fornwall 1931a64d98 Make install-sdk.sh not assume android is in $PATH
Also update the build-tools to latest 23.0.2
2016-01-08 20:39:09 -05:00

9 lines
313 B
Bash
Executable File

#!/bin/sh
# Read settings from .termuxrc if existing
test -f $HOME/.termuxrc && . $HOME/.termuxrc
: ${ANDROID_HOME:="${HOME}/lib/android-sdk"}
$ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "build-tools-23.0.2"
$ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "android-21"