Android Studio 2.4 Preview 4 发布,内置 Java 8 支持

发布时间: 浏览次数:2699次

Android Studio 2.4 Preview 4 发布了。Android Studio 2.4 的最新预览版包括构建工具和模拟器中的 Google Play 的更新,以及一些错误修复。

新功能

Build

  • Java 8 language features support. This preview release introduces built-in support for Java 8 libraries and certain Java 8 language features. Jack is no longer required, and you should first disable Jack to use the improved Java 8 support built into the default toolchain. For more information see how to use Java 8 language features.

Deploy and Test

  • The Google Play store app is now included in Android 7.0 (API 24) emulator system images. You will need to create a new Android Virtual Devices and select a hardware device configuration compatible with the Google Play Store.

Android Studio UI

Note: Compatible devices are denoted by the new Play Store column

Bug 修复

  • We continue to fix issues as they are reported, triaged, and prioritized by our development teams. Please continue to file feedback with reproducible steps as we work to reach a beta quality build.

已知的问题

  • After updating the Android plugin version, you need to stop the Gradle daemon to apply the update (Issue 267099). Otherwise, Gradle sync and builds fail with the following error: Could not initialize class com.android.ide.common.util.ReadWriteProcessLock, Failed to notify build listener, or java.lang.ExceptionInInitializerError.

下载地址:点击下载