-
-
Save borgogelli/cda937900b4c0735fa7812eb2d376def to your computer and use it in GitHub Desktop.
Update android sdk via bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Install JUST the required dependencies for the project. | |
# May be used for ci or other team members. | |
# | |
for I in android-25 \ | |
build-tools-25.0.2 \ | |
tool \ | |
extra-android-m2repository \ | |
extra-android-support \ | |
extra-google-google_play_services \ | |
extra-google-m2repository; | |
do echo y | android update sdk --no-ui --all --filter $I ; done | |
./sdkmanager "tools" "platform-tools" | echo y | |
./sdkmanager "build-tools;25.0.3" | echo y | |
./sdkmanager "platforms;android-25" | echo y | |
./sdkmanager "extras;android;m2repository" "extras;google;m2repository" | echo y | |
./sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2" | echo y | |
./sdkmanager "extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2" | echo y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment