Android Studio Release Notes - Android Studio
Android Studio Release Notes - Android Studio
Android Platform-tools
Android Emulator with an Android system image including Google Play Services
Periodic updates are pushed to Android Studio without requiring you to update your Android project. To manually
check for updates, select Help > Check for update (on Mac, select Android Studio > Check for updates).
Revisions
The sections below provide notes about successive releases of Android Studio, as denoted by revision number.
This site uses cookies to store your preferences for site-specic language and display options.
This is a minor update to Android Studio 2.2. It includes a number of small changes and bug xes, including:
OK
When reporting Instant Run issues through the IDE, the report now also includes logcat output for InstantRun
events. To help us improve Instant Run, please enable extra logging and report any issues
(https://developer.android.com/studio/run/index.html#submit-feedback).
This is a minor update to Android Studio 2.2. It includes several bug xes and a new feature to enable extra
logging to help us troubleshoot Instant Run issuesto help us improve Instant Run, please enable extra logging
and report any issues (https://developer.android.com/studio/run/index.html#submit-feedback).
New
All new Layout Editor (https://developer.android.com/studio/write/layout-editor.html) with tools custom-built to support
ConstraintLayout (https://developer.android.com/training/constraint-layout/index.html).
New Layout Inspector (http://tools.android.com/tech-docs/layout-inspector) lets you examine snapshots of your layout
hierarchy while your app is running on the emulator or a device.
New APK Analyzer (https://developer.android.com/studio/build/apk-analyzer.html) tool so you can inspect the contents of
your packaged app.
New Espresso Test Recorder (http://tools.android.com/tech-docs/test-recorder) tool (currently in beta) to help you
create UI tests by recording your own interactions.
New C/C++ build integration with CMake and ndk-build. Compile and build new or existing native code into
libraries packaged into your APK, and debug using lldb. For new projects, Android Studio uses CMake by
default, but also supports ndk-build for existing projects. To learn how to include native code in your Android
application, read Add C and C++ Code to Your Project (https://developer.android.com/studio/projects/add-native-
code.html). To learn how to debug native code with lldb, see Debug Native Code
(https://developer.android.com/studio/debug/index.html#debug-native).
New Merged Manifest Viewer to help you diagnose how your manifest le merges with your app
Thisdependencies
site uses cookies to store
across your
project preferences
build variants. for site-specic language and display options.
OK
The Run window now contains log messages for the current running app. Note that you can congure the
logcat Monitor (https://developer.android.com/studio/debug/am-logcat.html) display, but not the Run window.
Added new Virtual Sensors and Cellular > Signal Strength controls.
Added simulated vertical swipes for scrolling through vertical menus with a mouse wheel.
The Debugger tab of the Android App and Android Tests templates now contain several new options for
debugging with LLDB.
The Proling tab of the Android App and Android Tests templates now contain a Capture GPU Commands
option for enabling GPU tracing. You can display GPU traces in the GPU Debugger (a beta feature).
The Android Tests template now has a Firebase Test Lab Device Matrix option for the Deployment Target.
The Native Application template has been deprecated. If you use this template in a project, Android Studio
automatically converts it to the Android App template.
Android Studio now comes bundled with OpenJDK 8. Existing projects still use the JDK specied in File >
Project Structure > SDK Location. You can switch to use the new bundled JDK by clicking File > Project
Structure > SDK Location and checking the Use embedded JDK checkbox.
Added new help menus and buttons in the UI so you can more easily nd the online documentation.
Changes
Updated the IDE codebase from IntelliJ 15 to IntelliJ 2016.1
Instant Run now requires the platform SDK corresponding to the target device API level to be installed.
Instant Run will automatically disabled if user is running the app under a work prole or as a secondary user.
Some app assets were not deployed to your running app. ( Bug: #213454 (http://b.android.com/213454))
App crashes when user transitions between Instant Run and non Instant Run sessions where a Serializable
class does not have serialVersionUID dened. (Bug: #209006 (http://b.android.com/209006))
Style changes arent reected with Instant Run. (Bug: #210851 (http://b.android.com/210851))
Resource changes arent reected with Instant Run when custom sourceSets contain nested paths. (Bug:
#219145 (http://b.android.com/219145))
Hot and warm swap don't work if changed class contains annotation with enum value. (Bug: #209047
(http://b.android.com/209047))
Changes to annotation data not reected with Instant Run. (Bug: #210089 (http://b.android.com/210089))
Instant Run doesn't pick up code changes if you make changes outside the IDE. (Bug: #213205
(http://b.android.com/213205))
Instant Run session is unreliable due to mismatch security token. (Bug: #211989 (http://b.android.com/211989)
Cold swap fails for devices that doesnt properly support run-as. (Bug: #210875 (http://b.android.com/210875))
ClassNotFoundException observed when switching from Instant Run to Instant Debug. (Bug: #215805
(http://b.android.com/215805))
Improved performance for Gradle sync within the IDE, especially for large projects.
Improved build times for both full and incremental builds with new app packaging code.
Improved Jack compiler performance and features, including support for annotation processors and dexing in
process. To learn more, read the Android plugin for Gradle 2.2.0 release notes
(https://developer.android.com/studio/releases/gradle-plugin.html#revisions).
The Android Emulator -port and -ports command-line options now report which ports and serial number the
emulator instance is using, and warn if there are any issues with the values you provided.
Fixed memory leaks and reduced overall memory usage in Android Studio.
Added a Background button in the SDK Manager (https://developer.android.com/studio/intro/update.html#sdk-manager)
so you can get back to work and install your packages in the background.
Enhanced Code Analysis includes code quality checks for Java 8 language usage and more cross-le
analysis.
Troubleshooting
If you encounter problems in Android Studio, look at the following page for possible resolutions to known issues:
http://tools.android.com/knownissues (http://tools.android.com/knownissues).