Recent Changes

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

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:
You can now do:
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:

You can now do:
This allows greater flexibility when using fragments / merge.

Thanks everyone for the bug reports / feature requests!

Android Studio 2.2 Preview 7 Available

posted Aug 1, 2016, 7:21 PM by Chris Iremonger

We've just released Android Studio 2.2 Preview 7 the Canary channel.

This build contains a large number of bug fixes as we work to reach Android Studio 2.2 Beta.
  • Layout Editor improvements and bug fixes
  • Support for the latest version of Gradle (2.14.1) with Android Studio
  • Continued Instant Run bug fixes
  • Native / C++ improvements including: issue 21555: cannot resolve C/C++ symbols anymore which missed the Preview 6 release.
We feel very good about this release, so please file feedback ASAP if you run into any issues. After this release we plan to only take absolutely critical fixes to help stabilize the build.

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

Android Studio 2.2 Preview 6 Available

posted Jul 19, 2016, 10:52 AM by Chris Iremonger   [ updated Jul 19, 2016, 10:56 AM by Siva Velusamy ]

We've just released Android Studio 2.2 Preview 6 the Canary channel.

This build contains bug fixes primarily around Performance and Instant run with a number of other general improvements.
  • Performance: We addressed a number of crashes that were introduced in Preview 5 and prior previews.
  • Other: Several other fixes across the product - in instant run, deployment, lint, C++/CMake/NDK support, etc.
Unfortunately we weren't able to get issue 21555: cannot resolve C/C++ symbols anymore into this release, but it should be in the next one.

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

Android Studio 2.2 Preview 5 Available

posted Jul 8, 2016, 1:07 PM by Tor Norbye

We've just released Android Studio 2.2 Preview 5 the Canary channel.

This build contains a large number of bug fixes.
  • Performance: We fixed two big memory leaks -- one related to Gradle sync and the other related to layout rendering; both should help significantly with memory usage. We also improved the locking behavior of layout XML preview so it shouldn't cause the editor to lag when typing during background layout preview rendering.
  • Instant Run: A number of important bug fixes which should help with performance and correctness:
    • Fixed a bug where assets were not properly packaged
    • Disable the small optimization where edits in the main app module skip certain tasks: this was not safe and could lead to some edits missing when running the app
    • Fix a bug which meant assets would not be incrementally packaged in alpha4
    • No longer crunch PNGs in library dependencies
    • Fix bug where updating launcher icons would not trigger an app reinstall
  • Layout Editor:
    • Auto connect mode is now off by default.
    • New constraint layout library version alpha4. 
      • There's a lint warning (and quickfix to update) if you're using alpha3 or older. 
      • The focus of the update is on layout performance.
      • There's also documentation on the various attributes, and code completion should work better with this version in the IDE
      • Note: There is an incompatible change in the Guideline class and attributes:  layout_constraintGuide_begin, layout_constraintGuide_end and layout_constraintGuide_Percent
    • The resize screen feature has been tweaked visually and should be much faster.
    • The screenshot action has been added back to the Context menu, and there is a preference panel in options where you can set the "prefer XML editor for layout files" option as in previous releases.
    • Lint icons no longer show up on the design surface by default, but you can turn them back on via options (including from the lint notifications panel.)
    • PhotoShop file support: Layers in 16 bit and 32 bit images are now decoded
    • Fixed many bugs, including the <include> bug starred by a bunch of users where on Windows, include tags would stop working
  • Other: A lot of fixes across the product - in deployment, editor, data binding, C++/CMake/NDK support, lint, Espresso test runner, Firebase, etc.
  • Updated platform metadata for Android Nougat (e.g. code completion for context.getSystemService() should return all the valid constants as of N, etc.)
  • Fixes for the most common exceptions reported via the crash reporter
Thanks to everyone for their bug and crash reports, and keep them coming!

Android Studio 2.2 Preview 4 Available

posted Jun 23, 2016, 10:58 AM by Chris Iremonger   [ updated Jun 23, 2016, 6:50 PM ]

Android Studio 2.2 Preview 4 should release June 23rd at 11:30a PDT to the canary channel.

Preview 4 resolves the largest amount of bugs in the 2.2 release to date and includes some minor new features. Please test it out and give us feedback.

Because wrecommend you run our 2.2 canary builds along side the sable 2.1 builds. We introduced new icon colors now when you run a Canary, Dev, or Beta build you should see a yellow Android Studio Icon. The Stable channel will continue to display the default Green icon.

Instant Run 
  • Many bug fixes, we are working hard to address all reproducible issues. Please continue to file them.
Updated JDK for Mac
ConstraintLayout Editor
  • Various bug fixes
  • Pan & zoom panel is now a floating window accessible from the toolbar
Importing VectorDrawable from Photoshop files
  • Strokes are now supported
  • Clipping masks are now supported
  • Shape operations are now supported (merge, subtract, intersect and exclude overlapping)
  • Fill opacity is now supported
  • XML output optimized for size
Photoshop files support
  • Improved support for CMYK and Lab images
Color management
  • Improved color management on OS X
Firebase Plugin
  • Bug Fixes
  • Improved Directions.
Much more...

Updated June 23rd: 
  • Added details on the yellow icon.
  • Due to a bug in the patches we can only offer full downloads. If you patched and can't get studio to launch, please download a full update. You can follow the progress of this bug here.

Android Studio 2.2 Preview 3 Available

posted Jun 8, 2016, 3:00 PM by Chris Iremonger   [ updated Jun 8, 2016, 5:04 PM ]

We've just released Android Studio 2.2 Preview 3 to the canary and dev channel.

This build contains New features and a number of fixes for various critical bugs found in preview 2:

Espresso Test Recorder
Constraint Layout
  • ConstraintLayout editor:
    • New toolbar UI
    • Pan & zoom widget in the inspector
    • Better auto-inference
    • Databinding support in the layout editor
  • ConstraintLayout:
    • Fixed padding bug
    • Various bug fixes (design mode positioning, etc.)
  • Images support:
    • Photoshop viewer integrated in Android Studio
    • Convert Photoshop files to Vector Drawable
Many other bug fixes

Android Studio 2.1.2 Available

posted Jun 3, 2016, 4:13 PM by Chris Iremonger   [ updated Jun 6, 2016, 2:50 PM ]

We've just released Android Studio 2.1.2 to the stable and beta channel.

Android Studio 2.1.2 includes a number of small changes and bug fixes:
  • Instant Run updates and bug fixes
  • Improved performance in LLDB and a notification in studio when there are LLDB crashes.
  • Git rebase command now works with Android Studio’s latest security update.
  • And a few additional general fixes
Android Studio 2.1.2 - Update Dialog
- 6/6 Added stable to the release channel.

Android Studio 2.2 Preview 2 Available

posted May 27, 2016, 11:02 AM by Tor Norbye   [ updated May 27, 2016, 11:40 AM ]

We've just released Android Studio 2.2 Preview 2 to the canary channel.

This build contains a number of fixes for various critical bugs found in preview 1:
  • ConstraintLayout: version 1.0.0-alpha2
    • Fixed guidelines crash on device
    • Fixed typo in attribute name (leftToLeft)
    • Changed orientation attribute namespace from app to android to fix a conflict with GridLayout
    • ConstraintLayout now works properly inside ScrollView
    • ConstraintLayout now works properly inside RecyclerView
    • Percentage positioning of guidelines is now parsed as an integer instead of a dimension
    • Better behavior for match_parent on the device. The behavior is now the same as 0dp (the widget stretches according to its constraints)
  • Layout Editor
    • Fixed bug which sometimes turned fonts blue in other editors (.xml, .java)
    • Fewer generated XML attributes
    • Better behavior for match_parent in the editor
    • Fixed widgets resizing during drag
    • Improved guidelines representation in the editor
    • Improved auto conversion to ConstraintLayout
    • Improved edition of nested layouts
    • Various bug fixes and improvements in the editor
  • Fixed bug preventing the IDE from starting on some Linux distributions (in particular where /bin/sh is not bash)
  • Export Signed APK wizard was exporting to the wrong folder (issue 210520)
  • Fixed bug in welcome screen which meant some users couldn't create new projects
  • Fixed embedded JDK handling
  • Fixed a bug bugs in the native/hybrid debugger
  • Disabled a couple of Groovy inspections that reported incorrect errors in build.gradle files
  • Fixed an instant run bug which for some users resulted in every run turning into a full build
  • Fixed a couple of crashes in lint (in the new Gradle plugin, 2.2 alpha 2)
  • A bunch of improvements to the accessibility support
Unfortunately the Espresso Test Recorder is still not in this build; we're addressing a few more issues and then hope to have it ready in the next build!

Also, due to a bug, we're not able to offer patches from Preview 1 to Preview 2, so you'll need to download a complete install (and the complete install is a bit bigger in 2.2 than in the past since we now bundle a copy of OpenJDK to address a number of font rendering and other stability issues). However, the bug should be fixed in this build such that patching from Preview 2 to the next build will work.

To download Android Studio 2.2 Preview 2, visit its download page.

As always, thank you for helping us test Android Studio preview builds!

Android Studio 2.2 Preview 1 Available

posted May 18, 2016, 10:34 AM by Chris Iremonger   [ updated May 19, 2016, 3:24 PM ]

Today at Google I/O, we previewed Android Studio 2.2, a major update that includes a rewritten layout designer, new constraint layouts, a Firebase plugin, and much much more. A few highlights we want to call out are:

A new layout designer and constraints layout
Now, you use the layout window like a sheet of paper where you position widgets, and we automatically add all the constraints so that your UIs resize automatically on any Android screen. 

Firebase Plugin
Explore and integrate the suite of services offered by Firebase inside of Android Studio. Adding services like Analytics, Authentication, Notifications, and AdMob are just a few clicks away.

IntelliJ & CLion 2016.1 
Android Studio 2.2 includes all the latest updates from the underlying JetBrains product platforms IntelliJ and CLion.

And more
We also expanded support for N’s new Jack compiler which brings you Java8 language features like lambdas and default methods. 

We’ll be diving into more detail on all of the new updates at 10AM PT tomorrow in  “What’s new in Android Development Tools”, livestreamed from Google I/O.  We will link to more information on these exciting updates to Android studio on Thursday.

What's new in Android Studio

Updated May 19th to include a link with more information on the Android Studio update and to the recorded session.

11-20 of 294