Skip to content

Instantly share code, notes, and snippets.

@tabrindle
Last active May 22, 2017 21:27
Show Gist options
  • Save tabrindle/1074d34897859cee78b9778742b84c14 to your computer and use it in GitHub Desktop.
Save tabrindle/1074d34897859cee78b9778742b84c14 to your computer and use it in GitHub Desktop.
install using sdkmanager instead of android
#!/bin/bash
for target in "platforms;android-23" \
"platforms;android-25" \
"build-tools;25.0.3" \
"build-tools;23.0.1" \
"extras;google;m2repository" \
"extras;android;m2repository" \
"extras;google;google_play_services"; do
echo "Update/install: " $target
echo y | sdkmanager $target
done
sdkmanager --update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment