Recent Changes‎ > ‎

Android Studio 2.0 Beta 4 Available in Canary Channel

posted Feb 11, 2016, 9:43 PM by Tor Norbye   [ updated Feb 11, 2016, 10:12 PM ]
We've just pushed Android Studio 2.0 Beta 4 to the canary channel, as well as 2.0.0-beta4 of the Gradle plugin to jcenter.

Please note that in this build, the "Instant Run" settings are all restored to defaults. Go to Settings > Build, Execution, Deployment > Instant Run if you want to tweak them again.

The reason we had to do this is that these settings are (currently) actually per project settings, not per user. But this is not what many users expected (so they'd tweak the settings in one project and then be surprised when in another project the values were different). So we've now turned the settings into global settings instead. However, that moves the storage location for the settings, which is why the values are all reset. 

Bug fixes included:
  • A bug related to cold swap which meant that in many cases after restarting the app, it might be executing stale code, not the latest changes
  • A bug related to updating resources, where sometimes drawable changes (bitmaps and vectors) would not correctly show
  • A bug fix for users of Retrolambda Gradle plugin (disable Gradle javac incremental compilation)
  • A bug where switching between variants would sometimes confuse Instant Run
  • More gracefully handle a scenario where pushing files to the device via adb fails on some devices
  • Additional fixes to speed up Gradle full builds when projects have a large number of dependencies
  • Fix for a Dalvik verifier error when calling super methods with short or byte types
Note: After updating to beta 4, you'll also need to update your projects to the latest Gradle plugin (2.0.0-beta4) if you want to use Instant Run.

If all goes according to plan, we hope to roll this out to the beta channel in a few days. Yes, we said that about beta3 yesterday, but when we tracked down the above bugs we decided we should hold the overall beta rollout to include these fixes too. 

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 4 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 4 page.

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

Comments