Syquel / mise-android-sdk

mise / asdf plugin for Android SDK (Android Command-line tools)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mise-android-sdk Build

Android Command-line tools plugin for mise and asdf.

Contents

Dependencies

  • bash: 4.4+
  • curl: 7.60+
  • unzip: 6.0+
  • yq: 4.41.1+
  • java: 8+
    • Android SDK 9+ requires Java 11+
    • Android SDK 11+ requires Java 17+
  • POSIX utilities

Environment Variables

  • ANDROID_SDK_MIRROR_URL: set this environment variable to load the Android SDK from a mirror instead of dl.google.com.

Install

Plugin

mise

mise plugins install android-sdk https://github.com/Syquel/mise-android-sdk.git

asdf

asdf plugin add android-sdk https://github.com/Syquel/mise-android-sdk.git

Android SDK

mise

# Show all installable versions
mise ls-remote android-sdk

# Install specific version
mise install android-sdk@13.0

# Set a version globally (on your ~/.tool-versions file)
mise use --global android-sdk@13.0

asdf

# Show all installable versions
asdf list-all android-sdk

# Install specific version
asdf install android-sdk latest

# Set a version globally (on your ~/.tool-versions file)
asdf global android-sdk latest

Usage

# Now android-sdk commands are available
sdkmanager --help

Check mise or asdf readme for more instructions on how to install & manage versions.

Contributing

Contributions of any kind welcome! See the contributing guide.

Thanks goes to these contributors!

License

See LICENSE © Frederik Boster

About

mise / asdf plugin for Android SDK (Android Command-line tools)

License:Apache License 2.0


Languages

Language:Shell 100.0%