Recent Changes

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

ConstraintLayout alpha 8 is now available

posted Sep 13, 2016, 11:07 AM by Nicolas Roard   [ updated Sep 13, 2016, 11:14 AM ]

We've just released ConstraintLayout alpha 8, available in the SDK Manager (under the "Support Repository" section)

Note: due to API change, you might have to restart Android Studio 2.2 after upgrading to alpha 8 for layout preview to work.

This build has many changes from alpha 7:
  • Left-to-right bug fix (layout params were cached, preventing you to change them at runtime)
  • Performance improvements on first layout
  • New visibility behavior when dealing with View.GONE widgets -- now, gone widgets are completely removed (their connections margins are set to zero, their size is zero). But we added new attributes (app:layout_goneMarginTop/Bottom/Left/Right/Start/End) to specify different margin values for widgets connected to a GONE widget. This let you better adapt a layout when a widget is marked as gone, as you can apply different margin values depending if the widget you connect to is gone or not.
  • Ratio support was extended to work when both dimensions are set to MATCH_CONSTRAINT (0dp). This deal with the case when one dimension is constrained and you want to define the other dimension as a ratio.
  • New Programming API via a ConstraintSet class that let you create a set of constraints at runtime and apply it to a ConstraintLayout -- no need to manually set up LayoutParams.
  • And finally, documentation! you will be able to find it here: https://developer.android.com/reference/android/support/constraint/package-summary.html
As always, please try it, we want your feedback!

Android Studio 2.2 RC 2 is now available

posted Sep 8, 2016, 6:17 PM by Chris Iremonger   [ updated Sep 9, 2016, 7:32 AM by Tor Norbye ]

We've just released Android Studio 2.2 RC 2 to the canary channel. If all looks good we'll promote it to the beta channel in a couple of days. 

For those users who are trying Android Studio 2.2 for the first time. We recommend reviewing our blog post to get an overview of all of the changes in 2.2.

This build contains a handful of bug fixes on top of RC 1. At this point we're very close to releasing 2.2 stable, so we'd really appreciate everyone taking this build for a spin and letting us know if anything major is broken.
Fixed Issues
  • Layout EditorThere is a resolved bug in the layout editor's property sheet with editing style appearance properties (it will strip the @style prefix).
  • Patching: You should now be able to patch from stable versions back to 2.0.
  • Building: We fixed a bug in the incremental packaging step which occasionally would trip the malware scanner
  • Many more fixes.
Thanks to everyone for their bug and crash reports, and keep them coming!

Android Studio 2.2 RC is now available

posted Sep 1, 2016, 4:53 PM by Chris Iremonger   [ updated Sep 2, 2016, 4:38 PM ]

We've just released Android Studio 2.2 RC to the canary channel. If all looks good we'll promote it to the beta channel in a couple of days. 

For those users who are trying Android Studio 2.2 for the first time. We recommend reviewing our blog post to get an overview of all of the changes in 2.2.

This build contains a handful of bug fixes on top of beta 3. At this point we're very close to releasing 2.2, so we'd really appreciate everyone taking this build for a spin and letting us know if anything major is broken.

After the first 24 hours, we do have some known issues we are already working through:

  • Layout EditorThere is a known bug in the layout editor's property sheet with editing style appearance properties (it will strip the @style prefix). We're working on a fix right now.
  • Jack Build: There are a couple of additional bugs related to Jack that we are investigating (221424, 220858).     
Thanks to everyone for their bug and crash reports, and keep them coming!

Update log:
  • Added known issues

Android Studio 2.2 Beta 3

posted Aug 26, 2016, 12:08 PM by Tor Norbye   [ updated Aug 26, 2016, 2:44 PM by James Lau ]

We've just released Android Studio 2.2 Beta 3 to the canary channel. If all looks good we'll promote it to the beta channel in a couple of days. Due to some bugs in our release infrastructure, we do not have patches for this build; you'll need to download a full zip. We're working on this.

For those users who are trying Android Studio 2.2 for the first time. We recommend reviewing our blog post to get an overview of all of the changes in 2.2.

This build contains a large number of bug fixes as we work to reach finish 2.2.
  • A fix to instant run instrumentation now requires the SDK platform corresponding to the device API level to be installed. For example, if you are running on a lollipop device, you must have the lollipop SDK installed as well.
Please file feedback ASAP if you run into any issues. With this release we plan to continue only take critical fixes to help stabilize the build. The sooner you file bugs the higher chance it will make it into the 2.2 release.

Thanks to everyone for their bug and crash reports, and keep them coming!


Android Studio 2.2 Beta 2

posted Aug 18, 2016, 1:40 PM by Chris Iremonger   [ updated Aug 25, 2016, 2:11 PM by James Lau ]

We've just released Android Studio 2.2 Beta 2 to the canary, Dev, and Beta channels. If feedback looks positive we will promote this build to Dev and Beta shortly.

For those users who are trying Android Studio 2.2 for the first time. We recommend reviewing our blog post to get an overview of all of the changes.

This build contains a large number of bug fixes as we work to reach Android Studio 2.2 RC.
  • Unit Test and Test Issues generally should now be working again.
  • Gradle and Gradle Plugin Bug Fixes including around pro guard and native development
  • New experimental build cache to speed up build times. See Build Cache page for more info on how to use this feature.
  • More bug fixes
Please file feedback ASAP if you run into any issues. With this release we plan to continue only take critical fixes to help stabilize the build. The sooner you file bugs the higher chance it will make it into the 2.2 release.

Thanks to everyone for their bug and crash reports, and keep them coming!

Update Log:
  • Aug 22nd - Promoted Beta 2 to Dev and Beta Channels

ConstraintLayout - alpha 7 available

posted Aug 15, 2016, 9:11 PM by Nicolas Roard

We've just released ConstraintLayout alpha 7, available in the SDK Manager (under the "Support Repository" section)

This build has a few changes from alpha 6, fixing some issues with scrollview, and cleaning up some apis:
  • remove deprecated centerX/Y attributes
  • remove deprecated layout_constraintGuide_Percent attribute taking integers (superseded in alpha 6 by layout_constraintGuide_percent attribute taking a float from [0..1])
As always, please try it, feedback is very much encouraged!

Android Studio 2.1.3 is Available

posted Aug 15, 2016, 6:33 PM by Chris Iremonger   [ updated Aug 15, 2016, 11:33 PM by James Lau ]

This update adds compatibility with Gradle 2.14.1, which includes performance improvements, new features, and an important security fix. For more details, see the Gradle release notes.



Android Studio 2.2 Beta Available

posted Aug 9, 2016, 3:09 PM by Chris Iremonger   [ updated Aug 11, 2016, 5:09 PM ]

We've just released Android Studio 2.2 Beta 1 to the canary, dev, and beta channels.

For those users who are trying Android Studio 2.2 for the first time. We recommend reviewing our blog post to get an overview of all of the changes.

This build contains a large number of bug fixes as we work to reach Android Studio 2.2 RC.
  • Constraint Layout and New Layout Editor Bug fixes
  • Improvements to the interaction between Gradle 2.14.1 and Android Studio 2.2.
  • Instant Run and Build Bug Fixes
  • Memory performance improvements
We continue to feel good about these releases, so please file feedback ASAP if you run into any issues. With this release we plan to only take absolutely critical fixes to help stabilize the build. The sooner you file your feedback the higher chance it will make it into the 2.2 release.

Thanks to everyone for their bug and crash reports, and keep them coming!



Change Log:
Updated text to promote the dev and beta channel Release.

ConstraintLayout - alpha 6 available

posted Aug 8, 2016, 11:08 AM by Nicolas Roard   [ updated Aug 8, 2016, 11:26 AM ]

We've just released ConstraintLayout alpha 6, available in the SDK Manager (under the "Support Repository" section)

This builds fixes various issues:
  • RTL support had positioning issues that should now be fixed
  • potential OOM when handling complex layouts
  • the orientation attribute in ConstraintLayout.LayoutParams is now public
We also renamed and changed the API for the guideline relative percent attribute to use a float instead of an integer from 0 to 100:

For example, instead of:
app:layout_constraintGuide_Percent="42"
You can now do:
app:layout_constraintGuide_percent="0.421875"
Thanks everyone for the bug reports / feature requests!

ConstraintLayout - alpha 5 available

posted Aug 3, 2016, 11:15 AM by Nicolas Roard   [ updated Aug 3, 2016, 11:17 AM ]

We've just released ConstraintLayout alpha 5, available in the SDK Manager (under the "Support Repository" section)

This builds primarily fixes various issues, and we highly encourage you to switch from alpha 4!
  • forward references were broken
  • correct handling of "any size" on layout
  • layout issues on pre-ICS systems
We also introduce a new notation for referencing a constraint to the parent -- instead of having to specify an id, you can now simply use "parent" instead.

For example, instead of:
app:layout_constraintTop_toTopOf="@+id/constraintLayout"

You can now do:
app:layout_constraintTop_toTopOf="parent"
This allows greater flexibility when using fragments / merge.

Thanks everyone for the bug reports / feature requests!

11-20 of 302