Android Studio 2.0 Beta 5 released to fix several serious bugs related to immediate operation.

Source: Internet
Author: User

Android Studio 2.0 Beta 5 released to fix several serious bugs related to immediate operation.

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

Turn off Gradle ' s Javac incremental compilation in all scenarios. In previous builds we had turned it off if using annotation processors, but it turns out there is still some bugs where Resource constant field changes is not propagated correctly, which led to runtime crashes after restarting the app. May sound like a big performance sacrifice, but it's not:the javac stage is typically a small part of the build (which I S dominated by Dex and ADB Push and install) –and Note version 1.5.x of the Gradle plugin wasn ' t using incremental javac Compilation at all.

The change the the-the-the-app is restarted after making an incompatible change (a "Coldswap"). The technique we were using resulted in some state being persisted across app runs, which could leads to crashes or unexpec Ted Intent data.

Note that your need to use the latest version of Gradle and Studio together, and in this build we automatically update the Gradle version if already using a previous non-stable (e.g. 2.x) Preview version.

:

Windows:https://dl.google.com/dl/android/studio/ide-zips/2.0.0.14/android-studio-ide-143.2609919-windows.zip ( 314 MB)
Mac:https://dl.google.com/dl/android/studio/ide-zips/2.0.0.14/android-studio-ide-143.2609919-mac.zip (312 MB)
Linux:https://dl.google.com/dl/android/studio/ide-zips/2.0.0.14/android-studio-ide-143.2609919-linux.zip (312 MB )

If you want to learn more about Android Studio, please refer to my new book, "Android Studio Practical Guide", has been reading the first in Baidu.

Android Studio 2.0 Beta 5 released to fix several serious bugs related to immediate operation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.