android-wrapper: Auto accept android sdk license

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2017-02-06 15:55:37 +01:00 committed by Dirk Hohndel
parent b7a1b2dbf6
commit 9f7c3c31f7

View file

@ -82,7 +82,7 @@ if [ ! -d $ANDROID_SDK ] ; then
mkdir $ANDROID_SDK
pushd $ANDROID_SDK
unzip -q ../$SDK_TOOLS
bash tools/android update sdk --no-ui -a -t 1,2,3,33
( sleep 5 && while true ; do sleep 1; echo y; done ) | bash tools/android update sdk --no-ui -a -t 1,2,3,33
popd
fi