Created
June 23, 2019 12:14
-
-
Save reime005/a0bc3c8865c7140f9a639e6988294000 to your computer and use it in GitHub Desktop.
Example of downloading the Android SDK via sdkmanager CLI
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
#!/bin/sh | |
# note that the $ANDROID_HOME/tools/bin folder must be in your PATH | |
# list all installed and available packages | |
exec sdkmanager --list | |
# install or update specific packages to the latest version. automatically accept licenses | |
exec yes | sdkmanager --licenses && \ | |
sdkmanager "platforms;android-28" "build-tools;28.0.3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment