- SDK Build Tools Release Notes
- See Also
- Revisions
- Download
- Terms and Conditions
- 1. Introduction
- 2. Accepting this License Agreement
- 3. SDK License from Google
- 4. Use of the SDK by You
- 5. Your Developer Credentials
- 6. Privacy and Information
- 7. Third Party Applications
- 8. Using Android APIs
- 9. Terminating this License Agreement
- 10. DISCLAIMER OF WARRANTIES
- 11. LIMITATION OF LIABILITY
- 12. Indemnification
- 13. Changes to the License Agreement
- 14. General Legal Terms
- Android Studio
- Intelligent code editor
- Code templates and GitHub integration
- Multi-screen app development
- Virtual devices for all shapes and sizes
- Android builds evolved, with Gradle
- More about Android Studio
- System Requirements
- Windows
- Mac OS X
- Linux
- Installing Android SDK Tools
SDK Build Tools Release Notes
See Also
Build Tools is a component of the Android SDK required for building Android application code. The latest version of these tools is included in the SDK starter package and installed in the /build-tools/ directory.
You should always keep your Build Tools component updated by downloading the latest version using the Android SDK Manager. By default, the Android SDK uses the most recent downloaded version of the Build Tools. If your projects depend on older versions of the Build Tools, the SDK Manager allows you to download and maintain separate versions of the tools for use with those projects.
To use a specific version of the Build Tools in your application project:
- In the root folder of your application project, find the project.properties file.
- Open the file and specify the Build Tools version by adding a buildtools property on a separate line:
- In the root folder of your application project, find the build.gradle file.
- Open the file and specify the Build Tools version by adding a buildToolsVersion property to the android section:
Revisions
The sections below provide notes about releases of the Build Tools. To determine which revisions of the Build Tools are available in your SDK, refer to the Installed Packages listing in the Android SDK Manager.
Build Tools, Revision 22.0.1 (March 2015)
Fixed compatibility issues with RenderScript kernels on Android 4.4 (API level 19) to Android 4.1 (API level 16) devices.
Build Tools, Revision 22.0.0 (March 2015)
Added support for Android 5.1 (API level 22).
Build Tools, Revision 21.1.2 (February 2015)
Fixed problem with building data layouts in 32-bit mode.
Build Tools, Revision 21.1.1 (November 2014)
Fixed multidex script issues.
Build Tools, Revision 21.1 (October 2014)
Added multidex file support for APKs and Jack support to address the 64K method reference limit.
Build Tools, Revision 21.0.2 (October 2014)
Complete updates for Eclipse ADT to solve instability issues on Windows platforms.
Build Tools, Revision 21.0.1 (October 2014)
Initial updates for Eclipse ADT on Windows. Please use Revision 21.0.2.
Build Tools, Revision 21.0.0 (October 2014)
Build Tools, Revision 20.0.0 (June 2014)
Build Tools, Revision 19.1.0 (May 2014)
Build Tools, Revision 19.0.3 (March 2014)
Fixed an issue with RenderScript support.
Build Tools, Revision 19.0.2 (February 2014)
Build Tools, Revision 19.0.1 (December 2013)
Build Tools, Revision 19 (October 2013)
Added support for Android 4.4 (API level 19) build targets.
Build Tools, Revision 18.1.1 (September 2013)
Fixed several minor build issues.
Build Tools, Revision 18.1.0 (September 2013)
Fixed issue with RenderScript support mode.
Build Tools, Revision 18.0.1 (July 2013)
Added support for Android 4.3 (API level 18) build targets.
Build Tools, Revision 17 (May 2013)
General Notes:
- Included support for Android 4.2 (API level 17) build targets.
- Decoupled the build-specific components of the Android SDK from the platform-tools component, so that the build tools can be updated independently of the integrated development environment (IDE) components.
Источник
Download
Before installing Android Studio or the standalone SDK tools, you must agree to the following terms and conditions.
Terms and Conditions
1. Introduction
2. Accepting this License Agreement
3. SDK License from Google
4. Use of the SDK by You
5. Your Developer Credentials
6. Privacy and Information
7. Third Party Applications
8. Using Android APIs
9. Terminating this License Agreement
10. DISCLAIMER OF WARRANTIES
11. LIMITATION OF LIABILITY
12. Indemnification
13. Changes to the License Agreement
14. General Legal Terms
You’re just a few steps away from building apps for Android!
In a moment, you’ll be redirected to Installing the Android SDK.
I have read and agree with the above terms and conditions
Android Studio
The official Android IDE
- Android Studio IDE
- Android SDK tools
- Android 5.0 (Lollipop) Platform
- Android 5.0 emulator system image with Google APIs
Download Android Studio
To get Android Studio or stand-alone SDK tools, visit developer.android.com/sdk/
Intelligent code editor
At the core of Android Studio is an intelligent code editor capable of advanced code completion, refactoring, and code analysis.
The powerful code editor helps you be a more productive Android app developer.
Code templates and GitHub integration
New project wizards make it easier than ever to start a new project.
Start projects using template code for patterns such as navigation drawer and view pagers, and even import Google code samples from GitHub.
Multi-screen app development
Build apps for Android phones, tablets, Android Wear, Android TV, Android Auto and Google Glass.
With the new Android Project View and module support in Android Studio, it’s easier to manage app projects and resources.
Virtual devices for all shapes and sizes
Android Studio comes pre-configured with an optimized emulator image.
The updated and streamlined Virtual Device Manager provides pre-defined device profiles for common Android devices.
Android builds evolved, with Gradle
Create multiple APKs for your Android app with different features using the same project.
Manage app dependencies with Maven.
Build APKs from Android Studio or the command line.
More about Android Studio
For more details about features available in Android Studio, read the overview at Android Studio.
If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android, so you should migrate to Android Studio to receive all the latest IDE updates. For help moving projects, see Migrating to Android Studio.
System Requirements
Windows
- Microsoft® Windows® 8/7/Vista/2003 (32 or 64-bit)
- 2 GB RAM minimum, 4 GB RAM recommended
- 400 MB hard disk space
- At least 1 GB for Android SDK, emulator system images, and caches
- 1280 x 800 minimum screen resolution
- Java Development Kit (JDK) 7
- Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
Mac OS X
- Mac® OS X® 10.8.5 or higher, up to 10.9 (Mavericks)
- 2 GB RAM minimum, 4 GB RAM recommended
- 400 MB hard disk space
- At least 1 GB for Android SDK, emulator system images, and caches
- 1280 x 800 minimum screen resolution
- Java Runtime Environment (JRE) 6
- Java Development Kit (JDK) 7
- Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
On Mac OS, run Android Studio with Java Runtime Environment (JRE) 6 for optimized font rendering. You can then configure your project to use Java Development Kit (JDK) 6 or JDK 7.
Linux
- GNOME or KDE desktop
- GNU C Library (glibc) 2.15 or later
- 2 GB RAM minimum, 4 GB RAM recommended
- 400 MB hard disk space
- At least 1 GB for Android SDK, emulator system images, and caches
- 1280 x 800 minimum screen resolution
- Oracle® Java Development Kit (JDK) 7
Tested on Ubuntu® 14.04, Trusty Tahr (64-bit distribution capable of running 32-bit applications).
Источник
Installing Android SDK Tools
The Android software development kit (SDK) includes different components, including SDK Tools, Build Tools, and Platform Tools. The SDK Tools primarily includes the stock Android emulator, hierarchy viewer, SDK manager, and ProGuard. The Build Tools primarily include aapt (Android packaging tool to create .APK ), dx (Android tool that converts .java files to .dex files). Platform Tools include the Android debug shell, sqlite3 and Systrace.
The Android SDK can be installed automatically using the latest version of Gradle or downloading the Android SDK manually in several different ways. Below is an overview of all different approaches.
Gradle 2.2.0 now supports downloading automatically dependencies. Make sure to upgrade to the latest Gradle version. The Gradle plugin to manage dependencies is now deprecated.
If you are using Ubuntu 15.04 or 15.10, make sure to install the following packages. Otherwise, you may notice No such file or directory when running trying to execute the aapt program that is part of the Android SDK toolset:
Assuming you have macOS/OS X running, you can use Homebrew to install the Android SDK.
- Install Homebrew — the package manager for macOS/OS X
- Run the following commands:
This will install the Android SDK tools in /usr/local/Cellar/android-sdk/
You will need to download the Android SDK without Android Studio bundled. Go to Android SDK and navigate to the SDK Tools Only section. Copy the URL for the download that’s appropriate for your build machine OS.
Use wget with the correct SDK URL:
Unzip and place the contents within your home directory. The directory names can be anything you like, but save the files in somewhere easy to find (i.e.
Run the sdkmanager tool:
Now it’s time to set your build environment’s PATH variable and other variables that will be use to locate Android.
Edit your .bash_profile file. If you’re not using bash, edit the right config file for your environment.
Save and quit. Reload .bash_profile :
At the prompt, type android and hit Enter to launch the Android SDK Manager in a window. If this doesn’t work, your PATH variable has not been set up with the Android SDK location.
You will want to install the same Android SDK packages on your build machine as you did to get Gradle running locally. Before you begin, take a look at the build.gradle file in your project.
Here are the SDK package names you’ll definitely wish to select:
- Tools > Android SDK Tools
- Tools > Android SDK Platform-tools
- Tools > Android SDK Build-tools
- One version of the Android Platform. E.g., Android 5.1.1 (API 22) . It should be the one you named in the android: compileSdkVersion section of your build.gradle file.
You will also want to download the extras:
- Android Support Repository
- Android Support Library
Note: Choose the Android SDK Build-tools for the version of Android that you listed in the build.gradle file as the android: buildToolsVersion target. If your build.gradle says
then make sure to download that API version in the Android SDK Manager.
You can also download the SDK packages using the command line with the —no-ui parameter.
If you want to be selective about installing, you can use android list to view all the packages and apply the —filter option for selective installs:
If you decide to be selective about which packages to be installed, make sure to include the extra Android Maven repository. Otherwise, you may not be able to use the latest support design library.
There is currently no filter to install the build tools directly. See this ticket for more information.
Источник