Always update before install

This commit is contained in:
Leith Bade
2014-12-09 08:34:20 +11:00
parent 81bf36a86c
commit d8b7bc7235

View File

@@ -25,6 +25,7 @@ if [[ "${MASON_PLATFORM}" == "android" ]]; then
mv ./android-sdk-linux ./android-sdk
echo "installing SDK"
sudo apt-get update -y
sudo apt-get -y install lib32stdc++6 lib32z1 jq
echo y | ./android-sdk/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.1,android-21,extra-android-m2repository,extra-google-m2repository