{"repo":"amyu/setup-android","free":true,"listed":false,"github":"https://github.com/amyu/setup-android","clone":"git clone https://github.com/amyu/setup-android.git","description":"Setup Android SDK for self hosted runner","language":"TypeScript","stars":61,"topics":["android","github-actions","self-hosted-runner","setup","setup-android"],"license":"MIT","category":"mobile-apps","readme_excerpt":"setup-android setup-android installs Android SDK components on self-hosted GitHub Actions runners. - Downloads the Android command-line tools for Linux, macOS, and Windows. - Installs requested Android SDK platforms and optional Build Tools, NDK, and CMake versions. - Optionally caches the installed Android SDK. - Exports the following environment variables: + ANDROID SDK ROOT + ANDROID HOME + ANDROID NDK ROOT (when ndk-version is specified) + ANDROID NDK HOME (when ndk-version is specified) + ANDROID NDK (when ndk-version is specified) + CMAKE VERSION (when cmake-version is specified) - Adds the following directories to PATH : + $ANDROID SDK ROOT/platform-tools + $ANDROID SDK ROOT/cmdline-tools/latest/bin + $ANDROID SDK ROOT/ndk/ (when ndk-version is specified) When to use this action GitHub-hosted runners already include the Android SDK. This action is primarily intended for self-hosted runners or jobs that require a clean, customized SDK installation. Usage See action.yml for the complete input reference. Basic usage Read the SDK version from a version catalog If your project uses a Gradle version catalog, the SDK version can be passed to the action dynamically: Configuration examples Codename-based preview platforms Codename-based SDK platforms are supported when they are published in Google's SDK repository. Pass the exact suffix shown after platforms;android- by sdkmanager --list . For example, a package named platforms;android- is selected with sdk-version: . Availabil","default_branch":null,"files":null,"tree":[],"storefront":"/r/amyu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/amyu/setup-android/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}