Jun 22, 2017 A detailed explanation on Android's updated SDK Manager,its command line tools and how to use them. UPDATED How to setup Android SDK,ADB and Fastboot on Windows 10.
The Android SDK separates tools, platforms, and other components into packages you can download using the SDK Manager.
You can launch the SDK Manager in one of the following ways:
- From Eclipse (with ADT), select Window > Android SDK Manager.
- On Windows, double-click the
SDK Manager.exefile at the root of the AndroidSDK directory. - On Mac or Linux, open a terminal and navigate to the
tools/directory in theAndroid SDK, then executeandroid sdk.
You can select which packages you want to download by toggling the checkboxes on the left, thenclick Install to install the selected packages.
Figure 1. The Android SDK Manager shows theSDK packages that are available, already installed, or for which an update is available.
Recommended Packages
Here's an outline of the packages required and those we recommend you use:
at least one platformAndroid Sdk Download For Windows
into yourenvironment so you're able to compile your application. In order to provide the best user experienceon the latest devices, we recommend that you use the latest platform version as your build target.You'll still be able to run your app on older versions, but you must build against the latestversion in order to use new features when running on devices with the latest version of Android.To get started, download the latest Android version, plus the lowest version you plan to support (we recommend Android 2.2 for your lowest version).
Tip: For easy access to the SDK tools from a command line, add thelocation of the SDK's tools/ andplatform-tools to your PATH environment variable.
The Android SDK is composed of modular packages that you can download separately using the Android SDK Manager. For example, when the SDK Tools are updated or a new version of the Android platform is released, you can use the SDK Manager to quickly download them to your environment. Simply follow the procedures described in Adding Platforms and Packages.
What's New:
- A command-line version of the Apk Analyzer has been added in tools/bin/apkanalyzer. It offers the same features as the Apk Analyzer in Android Studio and can be integrated into build/CI servers and scripts for tracking size regressions, generating reports, and so on.
- ProGuard rules files under tools/proguard are no longer used by the Android Plugin for Gradle. Added a comment to explain that.
- When creating an AVD with avdmanager, it is no longer necessary to specify --tag if the package specified by --package only contains a single image (as is the case for all images currently distributed by Google).
There are several different packages available for the Android SDK. The table below describes most of the available packages and where they're located once you download them.
29.0.5 (October 2019) Command-line tools:
adb
- Slight performance improvement on Linux when using many simultaneous connections.
- Add --fastdeploy option to adb install, for incremental updates to APKs while developing.
Available Packages:
- SDK Tools
- Contains tools for debugging and testing, plus other utilities that are required to develop an app. If you've just installed the SDK starter package, then you already have the latest version of this package. Make sure you keep this up to date.
- SDK Platform-tools
- Contains platform-dependent tools for developing and debugging your application. These tools support the latest features of the Android platform and are typically updated only when a new platform becomes available. These tools are always backward compatible with older platforms, but you must be sure that you have the latest version of these tools when you install a new SDK platform.
- Documentation
- An offline copy of the latest documentation for the Android platform APIs.
- SDK Platform
- There's one SDK Platform available for each version of Android. It includes an android.jar file with a fully compliant Android library. In order to build an Android app, you must specify an SDK platform as your build target.
- System Images
- Each platform version offers one or more different system images (such as for ARM and x86). The Android emulator requires a system image to operate. You should always test your app on the latest version of Android and using the emulator with the latest system image is a good way to do so.
- Sources for Android SDK
- A copy of the Android platform source code that's useful for stepping through the code while debugging your app.
- Samples for SDK
- A collection of sample apps that demonstrate a variety of the platform APIs. These are a great resource to browse Android app code. The API Demos app in particular provides a huge number of small demos you should explore.
- Google APIs
- An SDK add-on that provides both a platform you can use to develop an app using special Google APIs and a system image for the emulator so you can test your app using the Google APIs.
- Android Support
- A static library you can include in your app sources in order to use powerful APIs that aren't available in the standard platform. For example, the support library contains versions of the Fragment class that's compatible with Android 1.6 and higher (the class was originally introduced in Android 3.0) and the ViewPager APIs that allow you to easily build a side-swipeable UI.
- Google Play Billing
- Provides the static libraries and samples that allow you to integrate billing services in your app with Google Play.
- Google Play Licensing
- Provides the static libraries and samples that allow you to perform license verification for your app when distributing with Google Play.
Download links for previous version Android SDK 25.2.3:
Download Android Sdk Manager.exe For Windows 10 1
Download links for previous version 24.4.1 2015-10-22:
Download links for previous version 24.3.4: