Recent Changes

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

Android Studio 2.0 RC 3 Available

posted Apr 5, 2016, 11:13 PM by Chris Iremonger   [ updated Apr 5, 2016, 11:18 PM ]

Android Studio 2.0 RC 3 is now available in the Beta channel. If you have 2.0 Preview or Beta installations, please update to RC 3 and let us know if you have any issues.


This build incorporates a single fix for vector drawable where in some situations your vector drawable images would build all black shapes.


We want to make sure we get Instant Run and the new emulator just right before promoting it to stable. Please continue to give us feedback and let us know if you run into any problems!  (via Help > Submit Feedback in Android Studio and For the Emulator In the tools menu select the three circles > Help > File a Bug.)


Reminder: If you want to test out Android N features, move to the Canary Channel and use Android Studio 2.1.

Installation

You can update your current 1.5 or 2.0 installation to 2.0 RC 3 by using the built-in patch mechanism (make sure you switch to the Beta channel first, if necessary.)

Android Studio 2.0 RC 3


IF YOU WANT TO KEEP YOUR 1.5 STABLE VERSION AND RUN 2.0 STABLE SIDE BY SIDE READ ON. Patch-updating will replace the existing installation with a preview version. If you want to keep 1 stable version and also have 1 preview version, download a separate installation of 2.0 from the Android Studio 2.0 RC 3 page. You can keep 1.5 and 2.0 installed side by side; they use separate settings and cache directories.


Problems?

If you run into problems, be sure to check the Known Issues page which we'll update as necessary.

Android Studio 2.0 RC 2 Available

posted Apr 4, 2016, 11:10 AM by Chris Iremonger   [ updated Apr 5, 2016, 11:06 PM ]

Android Studio 2.0 RC 2 are now available in the Beta channel. If you have 2.0 Preview or Beta installations, please update to RC 2 and let us know if you have any issues.


This build incorporates several more fixes for Instant Run, which is working at parity with 1.5.1. With Instant Run enabled (on by default), the first full build will be slightly slower than 1.5.1 as we create multiple dex files. Subsequent incremental builds will be much faster than 1.5.1. Full and incremental builds will be slightly faster than 1.5.1 even if you disable Instant Run due to optimizations we’ve made -- but enable Instant Run for max performance. If you want more information on Instant Run, be sure to check out the updated Instant Run documentation.


We want to make sure we get Instant Run and the new emulator just right before promoting it to stable. Please continue to give us feedback and let us know if you run into any problems!  (via Help > Submit Feedback in Android Studio and For the Emulator In the tools menu select the three circles > Help > File a Bug.)


Reminder: If you want to test out Android N features, move to the Canary Channel and use Android Studio 2.1.


Installation

You can update your current 1.5 or 2.0 installation to 2.0 RC 2 by using the built-in patch mechanism (make sure you switch to the Beta channel first, if necessary.)


IF YOU WANT TO KEEP YOUR 1.5 STABLE VERSION AND RUN 2.0 STABLE SIDE BY SIDE READ ON. Patch-updating will replace the existing installation with a preview version. If you want to keep 1 stable version and also have 1 preview version, download a separate installation of 2.0 from the Android Studio 2.0 RC 2 page. You can keep 1.5 and 2.0 installed side by side; they use separate settings and cache directories.


Problems?

If you run into problems, be sure to check the Known Issues page which we'll update as necessary.

Android Studio 2.1 Preview 5 Available

posted Mar 31, 2016, 5:16 PM by Tor Norbye

We've just pushed Android Studio 2.1 Preview 5 to the canary channel. This build incorporates a number of Instant Run bug fixes from the 2.0 release branch (released in 2.0 Release Candidate 1 yesterday), along with a handful of 2.1-only additional fixes. A number of developers have asked what the difference is between 2.0 and 2.1. In short:

  • 2.0 is nearly done; release candidate 1 was posted yesterday
  • 2.1 is basically just 2.0 plus fixes to support the Android N Preview SDK.


Installation

You can update your current 2.0 or 2.1 Preview installation to 2.1 Preview 5 via the built-in patch mechanism (Check for Updates). Make sure you switch to the Canary channel, if necessary.

You can also update from 1.5 to 2.1 Preview 5 via the patch mechanism, but you may not want to do that: See our page about how to keep multiple installations simultaneously while Studio is in preview mode.

You can also download a full zip of 2.1 Preview from the Android Studio 2.1 Preview 5 page.


Problems?

If you run into problems, be sure to check the Known Issues page which we'll update as necessary.


Android Studio 2.0 RC 1 Available

posted Mar 30, 2016, 11:07 AM by Chris Iremonger   [ updated Apr 5, 2016, 11:06 PM ]

Android Studio 2.0 RC 1 and Emulator 25.1 RC 1 are now available in the Beta channel. If you have 2.0 Preview or Beta installations, please update to RC 1 and let us know if you have any issues.


We have done extensive additional testing of both Android Studio and the Emulator. We have also verified these with a wide range of internal and external developers. We want to make sure we get Instant Run and the new emulator just right before promoting it to stable. Please continue to give us feedback and let us know if you run into any problems!  (via Help > Submit Feedback in Android Studio and For the Emulator In the tools menu select the three circles > Help > File a Bug.)


Android Studio RC 1

This build incorporates several more fixes for Instant Run, which is working at parity with 1.5.1. With Instant Run enabled (on by default), the first full build will be slightly slower than 1.5.1 as we create multiple dex files. Subsequent incremental builds will be much faster than 1.5.1. Full and incremental builds will be slightly faster than 1.5.1 even if you disable Instant Run due to optimizations we’ve made -- but enable Instant Run for max performance. If you want more information on Instant Run, be sure to check out the updated Instant Run documentation.


Reminder: If you want to test out Android N features, move to the Canary Channel and use Android Studio 2.1.


Emulator 25.1

Emulator 25.1 release candidate is also available in the SDK Preview channel. This version includes bug fixes to taking screenshots and our APK drag and drop installation onto the Emulator.

If you are using Android Studio 2.0+ you should be prompted to upgrade through the SDK manager or through the built-in Android Studio patch mechanism (Check for Updates).


Android Studio Installation

You can update your current 1.5 or 2.0 installation to 2.0 RC 1 by using the built-in patch mechanism (make sure you switch to the Beta channel first, if necessary.)


IF YOU WANT TO KEEP YOUR 1.5 STABLE VERSION AND RUN 2.0 STABLE SIDE BY SIDE READ ON. Patch-updating will replace the existing installation with a preview version. If you want to keep 1 stable version and also have 1 preview version, download a separate installation of 2.0 from the Android Studio 2.0 RC 1 page. You can keep 1.5 and 2.0 installed side by side; they use separate settings and cache directories.


Problems?

If you run into problems, be sure to check the Known Issues page which we'll update as necessary.


Android Studio 2.1 Preview 4 Available

posted Mar 25, 2016, 9:50 AM by Tor Norbye

We've just pushed Android Studio 2.1 Preview 4 to the canary channel. This build incorporates more bug fixes for Instant Run. There are a couple of small UI changes: there is a "Rerun" action in the toolbar next to run, which lets you build and restart the process with one click (or keyboard shortcut). And in the Build menu there is a "Clean Rerun" action which performs a full clean, build, install and run.


Installation

You can update your current 2.0 or 2.1 Preview installation to 2.1 Preview 4 via the built-in patch mechanism (Check for Updates). Make sure you switch to the Canary channel, if necessary.

You can also update from 1.5 to 2.1 Preview 4 via the patch mechanism, but you may not want to do that: See our page about how to keep multiple installations simultaneously while Studio is in preview mode.

You can also download a full zip of 2.1 Preview from the Android Studio 2.1 Preview 4 page.


Problems?

If you run into problems, be sure to check the Known Issues page which we'll update as necessary.


Android Studio 2.1 Preview 3 Available

posted Mar 16, 2016, 2:09 PM by Tor Norbye

We've just pushed Android Studio 2.1 Preview 3 to the canary channel. This build incorporates a number of fixes to support the Android N Preview SDK, as well as incorporating all the Instant Run and other IDE fixes from 2.0 Beta 7, also published today.


Installation

You can update your current 2.0 or 2.1 Preview installation to 2.1 Preview 3 via the built-in patch mechanism (Check for Updates). Make sure you switch to the Canary channel, if necessary.

You can also update from 1.5 to 2.1 Preview 3 via the patch mechanism, but you may not want to do that: See our page about how to keep multiple installations simultaneously while Studio is in preview mode.

You can also download a full zip of 2.1 Preview from the Android Studio 2.1 Preview 3 page.


Problems?

If you run into problems, be sure to check the Known Issues page which we'll update as necessary.

Android Studio 2.0 Beta 7 Available

posted Mar 16, 2016, 2:04 PM by Tor Norbye

We've just pushed Android Studio 2.0 beta 7 to the beta channel. Relative to beta 6 a few week ago, this fixes a few more user reported bugs related to Instant Run (in particular, faster builds on Windows, better support for multi-process apps, handle multiple activities better, and a few correctness fixes), as well as fixes to make the IDE run better on Windows.


Installation

You can update your current 2.0 Preview installation to 2.0 Beta 7 via the built-in patch mechanism (Check for Updates).

You can also update from 1.5 to 2.0 Beta 7 via the patch mechanism, but you may not want to do that: See our page about how to keep multiple installations simultaneously while Studio is in preview mode.

You can also download a full zip of 2.0 Beta from the Android Studio 2.0 Beta 7 page.


Problems?

If you run into problems, be sure to check the Known Issues page which we'll update as necessary.

Emulator 2.0 Preview Release Notes

posted Mar 11, 2016, 9:29 PM by Vince Harron

25.0.10

  • Change multitouch from Alt to Ctrl (Cmd on OSX) (b.android.com/202934)

  • Improve GLES performance

  • Rename "Grab screen focus with mouse" to "Send keyboard shortcuts to"

  • Clarify keyboard shortcut settings (b.android.com/202934)

  • Fix segfault on startup when GPU info badly parses (b.android.com/202879)

  • [Windows/OSX] confirm installed HAXM is 6.0+ (b.android.com/202285)

  • Ensure that the extended window is fully visible (b.android.com/202414)

  • [OSX] Change the menu bar and minimized name (b.android.com/197060)

  • Fixed a crash on exit (b.android.com/202321)

  • (SDK Tools) Add ProGuard rules for the @Keep support annotation

25.0.9

  • Crash fixes

  • Further reduce flicker on zoom (b.android.com/202415)

  • Remove the "virtual sensors" keyboard shortcut

  • Fix an out-of-bounds access in SizeTweaker

  • Fix renderbuffer object support in GLES 2

  • Customizing shortcuts by editing keyset.default is no longer supported

25.0.8

  • Support unicode file paths on Windows

  • Update the multitouch UI with a 2-finger swipe

  • Respect "initial orientation" AVD setting

  • Enforce a minimum size for the emulator (b.android.com/201994)

  • Remove a spurious pop-up during crash reporting

  • A few aesthetic changes

  • Enforce a minimum size for the emulator (b.android.com/201994)

  • Let user switch to software GPU when OpenGL driver crashes (b.android.com/201549)

  • Ensure exiting zoom mode works properly (b.android.com/200411)

  • Fix null pointer access when checking gpu mode (b.android.com/201966)

  • Avoid rotation-related resize edge case

  • Fix handling of "-prop xxx=yyy" on the command line (b.android.com/199437)

  • Send more than 1 digit of altitude with the GPS location

  • Update the keyboard map to include more non-ASCII characters (b.android.com/200042)

  • Update the lat/lon values before sending the location

  • Make D-Pad look good on high-density screens

  • Detect and force software on blacklisted GPU drivers (b.android.com/201423)

  • If your host OpenGL driver doesn't support RGB888, use RGB8888 instead

  • Use 24-bit depth buffer on checking WGL extensions

  • Prevent the emulator from entering OSX split screen

  • Change maximum window size restrictions (b.android.com/201708)

  • Fix some keyboard shortcut issues

  • Apple camera synchronized access (b.android.com/200915)

  • Make emulator usable on high-DPI Windows displays

  • Update the "Documentation" link (b.android.com/201499)

  • Suggest gfx driver updates more liberally

  • Crash fix (b.android.com/201333)

  • Show error message and exit when not enough memory

Android Studio 2.1 Preview now available for Android N Preview

posted Mar 9, 2016, 9:59 AM by Chris Iremonger

We've released Android Studio 2.1 Preview in the canary channel to support the Android N Developer Preview.


Android Studio 2.1 (canary channel) is a minor update to Android Studio 2.0 (beta channel) that includes changes to improve support for Java 8 and the new Jack compiler. To use Java 8 language features when developing with the Android N Preview, you currently need to use the Jack compiler provided with Android Studio 2.1. An updated New Project wizard also generates the correct configuration for projects targeting the Android N Preview.


Android Studio 2.1 also improves support for the latest Android Emulator 2.0 Beta, which provides the best performance with the Android N Preview system image.

Screen Shot 2016-03-08 at 1.54.30 PM.png

You should be aware of the following known issues in Android Studio 2.1 as they relate to development with the N Preview:


  • Instant Run currently is not compatible with the Jack compiler, so it is disabled for projects configured to use the Jack compiler until the fix is applied. (Using the Jack compiler is necessary only when using Java 8 language features.)

  • Various tools that read .class files (such as JaCoCo, Mockito, and some lint checks) are currently not compatible with the Jack compiler.

  • Native debugging (with LLDB) currently does not work with Android N Preview.


Also see the Known Issues page for information about other Android Studio problems, which we'll update as necessary. If you find other problems with Android Studio, please report bugs.


We will be updating Android Studio 2.1 quite frequently in the canary channel as we fix issues and enable new functionality. Please make sure to update to the latest version before filing bugs.


For more information about developing with the N Preview, see developer.android.com/preview.

Android Studio 2.0 Beta 6 Available

posted Feb 29, 2016, 1:54 PM by Tor Norbye

We've just promoted beta 6 from the canary to the beta channel. Relative to beta 5 (the previous build in the beta channel) we've fixed or disabled Instant Run for a number of critical bugs.


This build fixes a couple of important bugs related to instant run:

  • Apps that were using multiple processes (via android:process in the manifest) were not being updated properly with Instant Run. For the time being, we have turned off Instant Run in such a scenario.

  • Certain devices that have an incorrect version of the “run-as” command behaved incorrectly with instant run. This would manifest as Instant Run being unable to upload a new version when the application wasn’t running. We now properly handle this scenario and gracefully degrade to doing a full apk installation.

  • Instant Run was not working properly if the application was in the background. We now do the correct updates in such a scenario - the application will be terminated and restarted.

  • We automatically turn off Proguard or Jacocco when used with Instant Run.

  • Handling of native libraries :
    • changing source code of a native library should trigger a coldswap.
    • hotswap can lead to UnsatisfedLink exceptions
  • Applications using AndroidAnnotations are now compatible with Instant Run.
  • During hot swaps, initial code and incremental updates are no longer loaded from a different class loader

We really appreciate all the wonderful and detailed feedback on the 2.0 preview and beta releases. Thank you and please continue to give us feedback!  (via Help > Submit Feedback.)


Installation

You can update your current 2.0 Preview installation to 2.0 Beta 6 via the built-in patch mechanism (Check for Updates).

You can also update from 1.5 to 2.0 Beta via the patch mechanism, but you may not want to do that: See our page about how to keep multiple installations simultaneously while Studio is in preview mode.

You can also download a full zip of 2.0 Beta from the Android Studio 2.0 Beta 6 page.


Problems?

If you run into problems, be sure to check the Known Issues page which we'll update as necessary.


11-20 of 276