Build, test, and debug apps for Android
What's new in this version:
Android SDK 28.0.2
adb:
- Fixes flakiness of adb shell port forwarding that leads to 'Connection reset by peer' error message
- Fixes authentication via ADB_VENDOR_KEYS when reconnecting devices
- Fixes authentication—when the private key used for authentication does not match the public key—by calculating the public key from the private key, instead of assuming that they match
fastboot:
- Adds support for dynamic partitions.
Updated Windows requirements:
- The platform tools now depend on the Windows Universal C Runtime, which is usually installed by default via Windows Update. If you see errors mentioning missing DLLs, you may need to manually fetch and install the runtime package
Android SDK Release 28.0.1
adb:
- Add support for reconnection of TCP connections. Upon disconnection, adb will attempt to reconnect for up to 60 seconds before abandoning a connection
- Fix Unicode console output on Windows. (Thanks to external contributor Spencer Low!)
- Fix a file descriptor double-close that can occur, resulting in connections being closed when an adb connect happens simultaneously
- Fix adb forward --list when used with more than one device connected
fastboot:
- Increase command timeout to 30 seconds, to better support some slow bootloader commands
Android SDK Release 28.0.0
adb:
- Add support for checksum-less operation with devices running Android P, which improves throughput by up to 40%
- Sort output of adb devices by connection type and device serial
- Increase the socket listen backlog to allow for more simulataneous adb commands
- Improve error output for adb connect
fastboot:
- Improve output format, add a verbose output mode (-v)
- Clean up help output
- Add product.img and odm.img to the list of partitions flashed by fastboot flashall
- Avoid bricking new devices when using a too-old version of fastboot by allowing factory image packages to require support for specific partitions
Android SDK Release 27.0.1
- Android Device Bridge (adb): fixes an assertion failure on MacOS that occurred when connecting devices using USB 3.0
- Fastboot: On Windows, adds support for wiping devices that use F2FS (Flash-Friendly File System)
Android SDK Release 27.0.0
- Re-fixes the macOS 10.13 fastboot bug first fixed in 26.0.1, but re-introduced in 26.0.2
Android SDK Release 26.0.2
- Add fastboot support for Pixel 2 devices
Android SDK Release 26.0.1
- Fixed fastboot problems on macOS 10.13 High Sierra (bug 64292422)
Android SDK Release 26.0.0
- Updated with the release of Android O final SDK (API level 26)
Android SDK 25.2.5
Dependencies:
- Android SDK Platform-Tools revision 24 or later
Android Emulator bug fixes:
- Fixed a crash on async socket reconnect
- Fixed a crash on Mac when glDeleteTextures() is called after the corresponding context was destroyed
Android SDK 25.2.3
Dependencies:
- Android SDK Platform-tools revision 24 or later
- Added new sdkmanager command line tool to view, install, update, and uninstall individual Android SDK packages
New Android Emulator features and bug fixes:
- Fixed -gpu guest (issue 227447)
- Added support for WebP image decoding
- Added support for ETC2 texture decompression
Android SDK 24.4.1
Dependencies:
- Android SDK Platform-tools revision 23 or later.
General Notes:
- Fixed a problem where the emulator title bar was hidden off screen.
- Enabled the emulator to resize the user data partition by including e2fsprogs binaries.
- Fixed a regression on the 32-bit Windows OS where the emulator fails to boot Android 6.0 (API level 23) through Android 5.0 (API level 21) system images.
Android SDK 24.3.4
General Notes:
- Added support for Android 6.0 (API level 23) platform.
Emulator:
- Improved emulator performance on multi-core Windows desktops. (Issue 101040)
- Added support for GPU emulation on Windows and Linux platforms using the -gpu mesa command line option.
- Enabled support for running emulators with GPU emulation through remote desktop services, including Chrome Remote Desktop, Windows Terminal Services, and NoMachine.
- Added support for emulators with 280 dpi and 360 dpi screen resolutions.
- Improved support for GLES 2.0 extensions.
- Fixed several issues with GPU emulation support.
- Added support for setting the storage size on emulators using Android 4.4 (API level 19) and higher. (Issue 75141)
- Fixed problem with sending long SMS messages between emulators. (Issue 3539)
- Fixed issue with emulator getting incorrect time from location objects. (Issue 27272)
- Added handling for unusual characters in paths and file names when starting emulators. (Issue 35889)
Android SDK 24.0.1
Dependencies:
- Android SDK Platform-tools revision 19 or later.
General Notes:
- Fixed issue with creating projects and activities from templates using Eclipse ADT.
Android SDK 24.0.1
Dependencies:
- Android SDK Platform-tools revision 19 or later.
General Notes:
- Fixed Java detection issue on 32-bit Windows systems.
Android SDK 24.0
Dependencies:
- Android SDK Platform-tools revision 19 or later.
General Notes:
- Added support for Andriod Studio 1.0 and emulator enhancements.
Android SDK 23.0.2
Dependencies:
- Android SDK Platform-tools revision 19 or later.
- If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 23.0.2 and later. If you haven't already, update your ADT Plugin to 23.0.2.
- If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
General Notes:
- Added ProGuard .bat files that were missing.
- Added the proguard-android.txt file that was missing.
- Renamed the lombok-ast-0.2.2.jar file to lombok-ast.jar, which should allow running lint from the command line
Android SDK 23.0
Dependencies:
- Android SDK Platform-tools revision 19 or later.
- If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 23.0.0 and later. If you haven't already, update your ADT Plugin to 23.0.0.
- If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
General Notes:
- Added the Android Wear tools and system images.
Android SDK 22.6.4
Dependencies:
- Android SDK Platform-tools revision 18 or later.
- If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 22.6.3 and later. If you haven't already, update your ADT Plugin to 22.6.3.
- If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
General Notes:
- Fixed an issue with the x86 emulator that caused Google Maps to crash. (Issue 69385)
- Fixed minor OpenGL issues.
Android SDK 22.6.3
Dependencies:
- Android SDK Platform-tools revision 18 or later.
- If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 22.6.3 and later. If you haven't already, update your ADT Plugin to 22.6.3.
- If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
General Notes:
- Fixed a problem where the AVD manager allowed creating Android Wear virtual devices with a target API Level lower than 19.
- Fixed the description of Android Wear system images in the SDK Manager.
Android SDK 22.6.2
Dependencies:
- Android SDK Platform-tools revision 18 or later.
- If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 22.6.2 and later. If you haven't already, update your ADT Plugin to 22.6.2.
- If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
General Notes:
- Fixed a problem where the SDK Manager threw a NullPointerException after removing a virtual device that was created using the Android Wear system image. (Issue 67588)
- Fixed a problem with Nexus 5 Android virtual devices created from the command line where the SD card file system was read-only.
Android SDK 22.6.1
Dependencies:
- Android SDK Platform-tools revision 18 or later.
- If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 22.6.1 and later. If you haven't already, update your ADT Plugin to 22.6.1.
- If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
General Notes:
- Fixed a problem where the Android Virtual Device Manager could not create new virtual devices. (Issue 66661)
- Fixed a problem with virtual devices created using ADT 22.3 or earlier.
- If you created an Android Virtual Device using ADT 22.3 or earlier, the AVD may be listed as broken in the AVD Manager in 22.6.1. To fix this problem, select the virtual device on the AVD Manager and click Repair.
- Fixed a problem with the command line tools when creating virtual devices. (Issue 66740)
- Fixed a problem with the command line lint script.
Android SDK 22.6
Dependencies:
- Android SDK Platform-tools revision 18 or later.
- If you are developing in Eclipse with ADT, note that this version of SDK Tools is designed for use with ADT 22.6.0 and later. If you haven't already, update your ADT Plugin to 22.6.0.
- If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
General Notes:
- The command line lint script (toolslint.bat on Windows platforms, tools/lint on other platforms) and the lint target on ant builds fail with the following error
- Exception in thread 'main' java.lang.NoClassDefFoundError: lombok/ast/AstVisitor
- As a temporary workaround, rename the file toolsliblombok-ast-0.2.2.jar to toolsliblombok-ast.jar. We will release an updated version of the tools with a fix for this issue as soon as possible.
- Added support for Java 7 language features like multi-catch, try-with-resources, and the diamond operator. These features require version 19 or higher of the Build Tools. Try-with-resources requires minSdkVersion 19; the rest of the new language features require minSdkVersion 8 or higher.
- Added new lint checks
Security:
- Look for code potentially affected by a SecureRandom vulnerability.
- Check that calls to checkPermission use the return value.
- Check that production builds do not use mock location providers.
- Look for manifest values that are overwritten by values from Gradle build scripts.
- Fixed a number of minor issues in the SDK and build system.
Emulator
- Fixed a problem with the emulator shutting down immediately for Android 1.5 on the Nexus One and Nexus S devices. (Issue 64945)
- Fixed a problem with port numbers longer than four digits. (Issue 60024)
- Fixed battery errors for the Nexus One and Nexus S devices. (Issue 39959)
- Fixed a problem with paths or arguments that contain spaces on Windows platforms. (Issue 18317)
- Fixed a problem with long path values on Windows platforms. (Issue 33336)
- Fixed a problem with the -snapshot-list command line option on 64-bit systems. (Issue 34233)
- Fixed an issue with RenderScript support. Using RenderScript support mode now requires version 19.0.3 of the Build Tools.
Android SDK 22.3
- Added support for Android 4.4 (API level 19).
- Fixed a number of minor bugs in the SDK and build system.
Join our mailing list
Stay up to date with latest software releases, news, software discounts, deals and more.
SubscribeI'm following the guide for setting up the Android N Preview https://developer.android.com/preview/setup-sdk.html
In 'Update or Create a Project' Google says I need to have 24.0.0 platform tools.
Just be sure that you've updated your project to use Android SDK Build Tools 24.0.0 and Android SDK Platform-Tools 24.0.0.
I have installed the new SDK Platform: Android 6.X (N), API Level 24, Revision 1. However when I open SDK Tools the only Android SDK Platform-Tools version is 23.1.
I have updated my build.gradle
for Android 24 and for Jack and Java 8 (see).
Everything works great on Android 24 simulator but crashes on a device or simulator running Android 22/23 (less than 24) with the following error:
java.lang.NoSuchMethodError: No virtual method stream()Ljava/util/stream/Stream; in class Ljava/util/ArrayList; or its super classes (declaration of 'java.util.ArrayList' appears in /system/framework/core-libart.jar)
I suspect the cause is having SDK Platform-Tools version 23.1.0 instead of 24.0.0 but if there is another solution i'd be happy to hear it.
Edit
Installing platform tools 24.0.0 rc1 did not fix the crash.I'm not sure what else to try given that I have followed all the instructions to setup the preview and the Jack compiler.
4 Answers
but crashes on a device or simulator running Android 22/23 (less than 24) with the following error
java.util.stream.Stream
was added in API Level 24. This class cannot be used on older devices.
Certain Java 8 features, like lambda expressions, may work on older devices, but not classes that were introduced in Android N.
Just select the show package details and then you can find all the versions. Refer to the attached image
Asuming you have Android Studio 2.1
Launch the standalone SDK manager.
From there Android N API 24 should be available to install
Your API level 24 app runs OK with Android 24 (virtual) device but doesn't work with pre-24 device - so everything is exactly as one would expect.
Not the answer you're looking for? Browse other questions tagged androidandroid-sdk-tools or ask your own question.
Android SDK is the official application development package for Android, the Operative System for mobiles and tablets that is all the rage.
Basically this package includes a set of basic tools that allows the developers to start producing their ideas. Beyond the space dedicated for writing code, you can find a very important documentation volume available to check it the time you need.
With Android SDK is also possible to test the created code and know where does it have problems, because it includes debugging tools and mobile simulators of different trademarks and models.
Android SDK also offers several code samples as example that can help you working as an inspiration by the time you are developing an application. This is definitely an essential package for those who need to build utilities that work on the most advanced mobile Operative System of the marketplace.
It is my developed project with target API 23. Now I'm using Studio 2.1.3
When I am trying to open this project the error show me like Error:failed to find Build Tools revision 24.0.0 rc2 Install Build Tools 24.0.0 rc2 and sync project
But when I try to install, then a error message shown.
It was a big project, I have to run it. How can I sync it and run it properly? Please help me, Thanks in advance.
Screenshot 1: this is the error message
Screenshot 2: when i click to install and sync then this error message has appeared
4 Answers
Update the android-sdk
tools to the newest version: 24.0.2
Change your Android Support libraries version like appcompat
from 23.x.x
version to 24.2.0
If you would any problem with updating dependencies, check: https://developer.android.com/studio/intro/update.html#sdk-manager
Tip: Try to avoid use in your project alpha
,preview
or beta
Actia vci usb driver. versions of project dependencies.
Hope it will help
At the top of your module'sbuild.gradle
file there's a specification which build tools the module uses. Fix it to latest.
Android Sdk 25.2.3 Download
Check your connection to google servers.Some countries like Iran should use VPN to connect.
Hop it work
Go to build.gradle(Module:app) and update the buildToolsVersion '24.0.0 rc2'
to buildToolsVersion '24.0.0'
or to the latest version