Recent Changes‎ > ‎

Android Studio 2.0 Beta 2 Available in Canary Channel

posted Feb 4, 2016, 4:29 PM by Tor Norbye
We've just pushed Android Studio 2.0 Beta 2 to the canary channel.

This fixes an Instant Run related bug we discovered right after rolling beta 1 out. 

Please give beta 2 a try; we believe we've fixed several critical issues that have prevented builds from working for a number of users in earlier previews:
  • Performance regression: Many users reported that the initial build in 2.0 was much slower than in 1.5. Turns out this was related to the way we packaged all dependencies into a single dex file (since those are unlikely to change for Instant Run purposes). However, this actually made dex much slower in some scenarios due to the way dex merging works internally.
  • Dagger2 and other annotation-processor based libraries and plugins: In 2.x we've been using the new "incremental Java compilation" feature in Gradle, but this feature does not work well with annotation processor. In beta2, we automatically turn off incremental compilation if a project appears to be using annotation processors through the "android-apt" plugin. Manually wired processors will still fail (see https://github.com/google/dagger/issues/298).
  • We also fixed a couple of other Instant Run bugs; see in particular the below notice about uninstalling your app once.
  • Finally, there were a couple of bugs in the SDK manager which prevented the IDE from starting if you had add-ons installed with multiple system images.

Please note: You should uninstall your debug app from your device/emulator once, after updating to 2.0 Beta. This will remove some bad application state on the device that can affect Instant Run. We've fixed the bug which wrote the bad state in the first place, but this doesn't retroactively remove it from application state already on the device.

If all goes according to plan, we hope to roll this out to the beta channel in a few days, but we would highly appreciate feedback on this canary channel as soon as possible, in particular for Instant Run, to know whether it's really ready for beta on your real world applications.
Thanks for testing our preview builds, and please continue reporting bugs!  (via Help > Submit Feedback.)

Installation
You can update your current 2.0 Preview installation to 2.0 Beta 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 2 page.

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

Comments