Installing the Android SDK Tools and managing its archives in an automated fashion is a PITA (Probably Isn't That Amusing). And although others have written wrappers before I didn't find anyone yet who wrote one in go.
- Self contained binaries, simplest for CI systems
- Cross platform
- Idempotent - install from scratch or just keep an install up-to-date
- Flexible enough to handle changes as the tool changes (i.e. download urls not being stable, archive installation not being idempotent in tools, )
The usual disclaimer applies. This is a work in progress and has some rough edges.
- android-sdk-installer - Bash Scripts
- sdk-manager-plugin - Gradle Plugin