Recent Changes



 NOTE: This page and feed for release announcements is deprecated.
Instead see 
androidstudio.googleblog.com for the latest announcements.


The following features and bug fixes were recently checked in. For complete details, see the git changelogs at

Android Studio 2.3 Beta 3 is now available

posted Jan 25, 2017, 7:13 PM by Chris Iremonger   [ updated Jan 31, 2017, 5:21 PM ]

We have just released Android Studio 2.3 Beta 3 to the Canary, Dev, and Beta Channels.


Android Studio 2.3 Beta 3 has already completed the first level of testing and wanted to share the bits with as soon as possible. Once the build passes all testing we will release it to the Beta channel. Is now live in the Beta Channel


Fixed Issues


Please continue to submit feedback as we are nearing a close to the 2.3 updates as we work to a stable release.

Update Jan 31st: Text updated to reflect the Beta channel release.

Android Studio 2.3 Beta 2 is now available

posted Jan 10, 2017, 1:50 PM by Chris Iremonger

We have just released Android Studio 2.3 Beta 2 to the Canary, Dev, and Beta Channels.


New or Noteworthy Changes

  • Moved to Gradle 3.3 Stable from 3.3 RC1 in Android Studio 2.3 Beta 1

  • If you do native development, please also update LLDB to 2.3.3614996


Fixed Issues

  • Performance Improvements in Project Sync and general Gradle integration with the IDE.

  • App Indexing

  • Lint Fixes

  • And a few General updates


Known Issues

  • Debugging: Issue 231497 - When a debug session is launched with instant run enabled, and if the application pauses at a breakpoint on the main thread, you may notice an ANR dialog pop up on the device. In beta 2, simply ignore the dialog, or press 'Wait'. The issue will disappear once you allow the main thread to continue execution, and it happens only once during application startup. We are adding a workaround for it in beta 3 and will have a full solution in the next major update of Android Studio.


We are very close to an RC build, so please continue to file bugs you are finding in the Beta releases of Android Studio.

Android Studio 2.3 Beta 1 is now available

posted Dec 15, 2016, 6:21 PM by Chris Iremonger

We have just released Android Studio 2.3 Beta 1 to the Canary, Dev, and Beta channels. In addition to the usual plethora of bug fixes, there are a number of noteworthy changes just in time for the holidays.


For those in the Beta Channel here are many of the changes since Android Studio 2.2.


Instant Run. In Android Studio 2.3 Canary 3, we introduced big change to how Instant Run works. Applying changes to a running applications play.png is no longer tied to the Run button. The Run button will now always perform an application restart. To apply code and resource changes in the running process, there is a new button hot-reload.png right next to it,  "Apply Changes", which attempts to hotswap the changes into the app. (The keyboard shortcut for Apply Changes is Control-F10 on Windows and Linux, and Cmd-Ctrl-R on Mac.)toolbar.png

The goal of this change is to make the Run button completely reliable. When you press Run, you can always be certain that your changes are reflected in the running app. Applying changes is now a separate action you take when you've made a tweak you want to see immediately. The Run button continues to use "cold swap" to build the app more quickly than a full APK reinstall, but we've limited it to Lollipop and above where we don't need to rely on unsafe mechanisms to do so.


IDE: In Android Studio 2.3 Canary 1 we upgraded the base IDE from IntelliJ 2016.1 to 2016.2, which adds a number of new features -- ligatures, breadcrumbs, editor background images, revamped UI for inspections, notifications and the debugger, and more. In Beta 1 we include a few additional fixes in OpenJDK that should help Mac users running Sierra.


Build Cache. In Android Studio 2.3 Canary 1,  we have enabled a new build cache (which uses a shared directory across projects to extract and compile libraries) by default. This turned out to break several features in the IDE that were making assumptions about the locations of libraries. In Android Studio 2.3 Canary 3, most of these bugs have been fixed; there are a few cosmetic ones remaining (such as listing library versions in the merged manifest editor and in documentation popups etc) that we'll be fixing next. Known issue.

new-palette.png


Layout Editor. There are several new features in the layout editor. First, the palette has been completely rewritten. The new palette offers previews of the widgets, better sorting, as well as search and filtering: click on the search icon findPlain.png to find a widget. Second, search and filtering now also works in the property inspector. And third, you can now customize the set of properties shown for a given widget type in the inspector. In the all properties table, click on the star icon favorites.pngto favorite the properties you want to see for this type of widget, and from now on these properties will be shown in the Favorites section in the component inspector.


Additionally, Since Android Studio 2.3 Canary 1, the layout editor now supports chains and ratios for ConstraintLayout.


In Android Studio 2.3 Canary 3 we reworked the internal architecture to improve the performance and reliability, in Beta 1 we included a number of bug fixes and further refinements. We are working hard to offer a solid solution for our stable release. Please continue to file bugs and feedback at b.android.com.


App Links Assistant. Android App Links allow your users to seamlessly deep link into your app experience. Adding Android App Links support in your app is now easier with this new experience in Android Studio. Just go to Tools > App Links Assistant in Android Studio to get started.


Lint. In Android Studio 2.3 Canary 3, the command line HTML reports have been overhauled -- instead of the old dark Holo look, they now have a Material design look, and the included code snippets are syntax highlighted etc.

From Android Studio 2.2, lint now has "baseline support" which lets you check in a current set of warnings -- and from now on, only new issues are reported. This lets a project with a lot of technical debt set a baseline and then break the build only when new issues are introduced, without having to go and fix all existing issues first. In order not to forget about the technical debt though it creates an info-level issue which tells you that you've filtered out bugs.lint-html.png


Additionally, there are many new lint checks. Some examples include enforcing the new @RestrictTo and @VisibleForTesting(otherwise=intended) annotations in support library 25, flagging obsolete SDK_INT checks, making sure animated properties are valid and not renamed in release builds,flagging potential wifi manager memory leaks, and many more.


Learn more about the new lint checks, and the baseline support, in this tech doc.


Data binding: Several editor bugs were fixed, among them the frequently reported problem with functional expressions. The editor parser now handles these properly.


Dual debugger: In Android Studio 2.3 Canary 3, the Hybrid debugger has been renamed to Dual debugger.


Known Issues: In addition to the known issue around build caches, we also found an Instant Run issue when you don't define a version in your build.gradle file the App won't install. A fix is already in place and should be available in Beta 2.

You can find a full list of Android Studio 2.3 bug fixes including work that is already underway for Beta 2.


As always we value ever bug filed, so please test out our new features and let us know if you run into any problems on b.android.com.

Android Studio 2.3 Canary 3 is now Available

posted Dec 12, 2016, 8:01 PM by Chris Iremonger

We have just released Android Studio 2.3 Canary 3 to the Canary and Dev channels. The gradle plugin should be available from JCenter within the next 24 hours.


In addition to the usual plethora of bug fixes, there are a number of noteworthy changes in this release:


Instant Run. We've made a big change to how Instant Run works in this release. Applying changes to a running applications is no longer tied to the play.png Run button. The Run button will now always perform an application restart. To apply code and resource changes in the running process, there is a new hot-reload.png button right next to it,  "Apply Changes", which attempts to hotswap the changes into the app. (The keyboard shortcut for Apply Changes is Control-F10 on Windows and Linux, and Cmd-Ctrl-R on Mac.)

toolbar.png

The goal of this change is to make the Run button completely reliable. When you press Run, you can always be certain that your changes are reflected in the running app. Applying changes is now a separate action you take when you've made a tweak you want to see immediately. The Run button continues to use "cold swap" to build the app more quickly than a full APK reinstall, but we've limited it to Lollipop and above where we don't need to rely on unsafe mechanisms to do so.


Build Cache. In Android Studio 2.3 Canary 1,  we have enabled a new build cache (which uses a shared directory across projects to extract and compile libraries) by default. This turned out to break several features in the IDE that were making assumptions about the locations of libraries. In Android Studio 2.3 Canary 3, most of these bugs have been fixed; there are a few cosmetic ones remaining (such as listing library versions in the merged manifest editor and in documentation popups etc) that we'll be fixing next. Known issue.


new-palette.png

Layout Editor. There are several new features in the layout editor. First, the palette has been completely rewritten. The new palette offers previews of the widgets, better sorting, as well as search and filtering: click on the search icon findPlain.png to find a widget. Second, search and filtering now also works in the property inspector. And third, you can now customize the set of properties shown for a given widget type in the inspector. In the all properties table, click on the star icon favorites.pngto favorite the properties you want to see for this type of widget, and from now on these properties will be shown in the Favorites section in the component inspector.

In this build we've reworked the internal architecture to improve the performance and reliability, and there are some rough edges remaining that we'll be addressing in the next build. For example, the blue print mode is missing labels.


App Links Assistant. Android App Links allow your users to seamlessly deep link into your app experience. Adding Android App Links support in your app is now easier with this new experience in Android Studio. Just go to Tools > App Links Assistant in Android Studio to get started.



Lint. The command line HTML reports have been been overhauled -- instead of the old dark Holo look, they now have a Material design look, and the included code snippets are syntax highlighted etc.


lint-html.png

Data binding: Several editor bugs were fixed, among them the frequently reported problem with functional expressions. The editor parser now handles these properly.


Dual debugger: The Hybrid debugger has been renamed to Dual debugger.


ProGuard version update: We have upgraded the ProGuard version that the Android Plugin for Gradle uses to ProGuard 5.3.2.

SDK Patches: After running into a patching issue with SDK updates, I happy to report that we are now serving patches for the SDK again. Over the coming weeks, we will continue to offer more patches on more components.

As always please let us know if you run into an issue. We are very close to moving this build to our beta channel and would love your feedback on this build.

Android Studio 2.2.3 is now Available

posted Dec 6, 2016, 1:16 PM by Chris Iremonger   [ updated Dec 6, 2016, 1:35 PM ]

This is a minor update to Android Studio 2.2. It includes a bug fixes focused around gradle, the core IDE, and lint.

Highlighted Build Changes
  • ProGuard version rollback. Due to a correctness issue discovered in ProGuard 5.3.1, we have rolled back to ProGuard 5.2.1. We have worked with the ProGuard team on getting a fix quickly, and we expect to roll forward to ProGuard 5.3.2 in Android Studio 2.3 Canary 3.
  • Bug fix for aaptOptions IgnoreAssetsPattern not working properly (http://b.android.com/224167)
  • Bug fix for Gradle autodownload for Constraint Layout library (http://b.android.com/212128)
  • Bug fix for a JDK8/Kotlin compiler + dx issue (http://b.android.com/227729)

This should be available to you in Beta and Dev Channels, but you can always manually download Android Studio 2.2.3 from our site.

Android Studio 2.3 Canary 2 is now Available

posted Nov 22, 2016, 8:16 AM by Chris Iremonger   [ updated Nov 22, 2016, 10:41 AM by J. Eason ]

We have just released Android Studio 2.3 Canary 2 to the Canary and Dev channels. This build contains a large number of bug fixes and a handful of new features.

Below are highlights of some of the major changes in this release:
 
Lean Navigation Updates
we have an updated toolbar with the AVD & SDK Manager icons for those who just use the lean Navigation Toolbar and not the full Toolbar.

Updated Toolbar with AVD and SDK Manager icons

Bugs:
  • Applying Patches from Android Studio Canary 1 was broken. A fix should be in Canary 2 going forward. (SDK Patches continue to be broken and we are still working on a fix for this new feature.)
  • Android Studio and the Kotlin plugin should now be functional again.
  • Many other bug fixes as well.

ConstraintLayout beta 4 is now available

posted Nov 16, 2016, 2:21 PM by Nicolas Roard   [ updated Nov 16, 2016, 4:17 PM ]

We just published ConstraintLayout beta 4. As always, it's available in the SDK Manager (under the "Support Repository" section).

Note: if you are using Android Studio 2.2, you might have to do File->Invalidate Caches & restart studio after installing this version (the editor behavior may not be correct, with widgets temporarily snapping to the top left corner or not shown).

This release fixes a few bugs related to guideline positioning and use of include tag, plus some additional performance improvement. We encourage you to update from previous versions.

Android Studio 2.3 Canary Available

posted Nov 11, 2016, 6:32 AM by Tor Norbye   [ updated Nov 11, 2016, 9:32 AM ]

We have just released Android Studio 2.3 to the Canary channel. This is an early preview of work going into the next major release of Android Studio. This build contains a large number of bug fixes and a handful of new features.

Below are highlights of some of the major changes in this release:

  • IDE: We've upgraded the base IDE from IntelliJ 2016.1 to 2016.2, which adds a number of new features -- ligatures, breadcrumbs, editor background images, revamped UI for inspections, notifications and the debugger, and more.

  • Layout Editor: The layout editor now supports chains and ratios for ConstraintLayout.

  • Lint
    • Lint now has "baseline support" which lets you check in a current set of warnings -- and from now on, only new issues are reported. This lets a project with a lot of technical debt set a baseline and then break the build only when new issues are introduced, without having to go and fix all existing issues first. In order not to forget about the technical debt though it creates an info-level issue which tells you that you've filtered out bugs:
    • There are many new lint checks. Some examples include enforcing the new @RestrictTo and @VisibleForTesting(otherwise=intended) annotations in support library 25, flagging obsolete SDK_INT checks, making sure animated properties are valid and not renamed in release builds,flagging potential wifi manager memory leaks, and many more. 
    • Learn more about the new lint checks, and the baseline support, in this tech doc.

  • WebP:  Android Studio 2.3 now provides PNG to WebP Conversion. With the new conversion wizard, you can quickly generate WebP images and if you're using the lossy encoding, inspect the diffs of your images. Using WebP images in your app saves APK space and is more performant. Learn more about the new WebP Support in this tech doc.


  • Data Binding: In addition to a lot of bug fixes in the editing support for data binding, there is a new feature to help debug apps using data binding. Normally the IDE will automatically compute the data binding classes "on the fly" such that they are always correct and up to date with your edits in the XML files. However, when you are debugging your app, you may want to see and step into exactly the code that was compiled. You can now enable this under preferences:

  • Pixel and Pixel XL: Pixel and Pixel XL device definitions added to the Layout Editor and AVD Manager to help  test your app with Android 7.1 Developer Preview Release. 



  • Incremental SDK Updates: This version of Studio includes support for incremental patching of SDK components, such as system images. We can now provide patches for system images (which are often very large) and updating those with Studio 2.3 will allow a much smaller and faster download.

  • Build System: Support for the new Gradle plugin 2.3.0. There are some notable changes:
    • The user cache for dex files is now enabled by default, which should speed up builds
    • Configuration times for very large projects should be significantly faster
    • For Instant Run, the "startup delay" (where large apps stall for a few seconds at startup) should be gone
    • Instant Run is using "APK Splits" when targeting Android N which is a bit more reliable than the classloader tricks it uses to target older platforms

  • Bug Fixes. A notable & highly requested enhancement (b.android.com/220197) we also added is a search box to the Vector Asset Wizard You can now quickly filter through the vector icons based on the name of the asset.
(NOTE: If you're using Kotlin, don't upgrade yet. The Kotlin plugin is being updated to work with 2.3. See https://twitter.com/kotlin/status/797111726516879360 .)

As always, please try it, feedback is very much encouraged!

You can update via the built-in update mechanism (switch to the canary channel if necessary), or you can download a separate install of the IDE such that you can keep 2.2.2 stable and 2.3 canary installed side by side.

ConstraintLayout beta 3 is now available

posted Nov 3, 2016, 10:15 AM by Nicolas Roard   [ updated Nov 3, 2016, 11:53 AM ]

We just published ConstraintLayout beta 3. As always, it's available in the SDK Manager (under the "Support Repository" section).

This release fixes several bugs related to layout resolution; WRAP_CONTENT support in particular has been improved when using chains. Min/max dimensions on the ConstraintLayout itself are now correctly supported (android:minWidth, android:maxWidth, android:minHeight, android:maxHeight). We encourage everyone to update to this new version!

Note: if you are using Android Studio 2.2 and it is your first installation of ConstraintLayout (or you had a version older than alpha 8), you might have to restart studio (or invalidate caches) after installing this version (the editor behavior may not be correct, with widgets temporarily snapping to the top left corner).

ConstraintLayout beta 2 is now available

posted Oct 28, 2016, 10:31 AM by Nicolas Roard

We just published ConstraintLayout beta 2. As always, it's available in the SDK Manager (under the "Support Repository" section).

This build fixes a few issues with API level support under level 16. It also contains several large performance improvements (~2x speedup in many common situations).

Note: if you are using Android Studio 2.2 and it is your first installation of ConstraintLayout (or you had a version older than alpha 8), you might have to restart studio (or invalidate caches) after installing this version (the editor behavior may not be correct, with widgets temporarily snapping to the top left corner).



11-20 of 317