flutter/tools/android/android_sdk_downloader
2019-01-18 21:05:53 -08:00
..
lib Improve the Android SDK rolling process (#203) 2019-01-18 14:08:56 -08:00
.gitignore Improve the Android SDK rolling process (#203) 2019-01-18 14:08:56 -08:00
analysis_options.yaml Improve the Android SDK rolling process (#203) 2019-01-18 14:08:56 -08:00
LICENSE Improve the Android SDK rolling process (#203) 2019-01-18 14:08:56 -08:00
pubspec.lock Improve the Android SDK rolling process (#203) 2019-01-18 14:08:56 -08:00
pubspec.yaml Update pubspec.yaml (#207) 2019-01-18 21:05:53 -08:00
README.md Improve the Android SDK rolling process (#203) 2019-01-18 14:08:56 -08:00

Android SDK Downloader

This program assists with downloading the Android SDK and NDK artifacts for Flutter engine development.

Usage

-r, --repository-xml            Specifies the location of the Android Repository XML file.
                                (defaults to "https://dl.google.com/android/repository/repository2-1.xml")

-p, --platform                  Specifies the Android platform version, e.g. 28

    --platform-revision         Specifies the Android platform revision, e.g. 6 for 28_r06

-o, --out                       The directory to write downloaded files to.

    --os                        The OS type to download for.  Defaults to current platform.
                                (defaults to current platform), accepts: [windows, macos, linux]

    --build-tools-version       The build-tools version to download.  Must be in format of <major>.<minor>.<micro>, e.g. 28.0.3; or <major>.<minor>.<micro>.<rc/preview>, e.g. 28.0.0.2

    --platform-tools-version    The platform-tools version to download.  Must be in format of <major>.<minor>.<micro>, e.g. 28.0.1; or <major>.<minor>.<micro>.<rc/preview>, e.g. 28.0.0.2

    --tools-version             The tools version to download.  Must be in format of <major>.<minor>.<micro>, e.g. 26.1.1; or <major>.<minor>.<micro>.<rc/preview>, e.g. 28.1.1.2

    --ndk-version               The ndk version to download.  Must be in format of <major>.<minor>.<micro>, e.g. 28.0.3; or <major>.<minor>.<micro>.<rc/preview>, e.g. 28.0.0.2

-y, --[no-]accept-licenses      Automatically accept Android SDK licenses.
    --[no-]overwrite            Skip download if the target directory exists.