mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
.. | ||
lib | ||
.gitignore | ||
analysis_options.yaml | ||
LICENSE | ||
pubspec.lock | ||
pubspec.yaml | ||
README.md |
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.