Tuesday, February 25, 2020

Android Studio 4.0 Beta 1 available


Android Studio 4.0 Beta 1 is now available in the Beta channel.

If you have Android Studio set up to receive updates on the Beta channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

General fixes

This update also includes fixes for the following public issues:

Android Gradle Plugin
  • Issue #144513656: Lint's Gradle task hangs after update to AGP 3.6.0-beta04
  • Issue #146869072: Task failed on mergeExtDex
  • Issue #147768068: AGP 3.6 RC 1 produces non constants R fields when using the android name space.
  • Issue #148005697: [AGP 4.0.0-alpha08] DataBindingInfo is being defined in the same package across different modules
  • Issue #147289282: The option setting 'android.enableR8=true' is deprecated.null
Android Studio
  • Issue #71894463: Radial Gradient SVG from Sketch is not imported correctly by the Vector Asset Tool
Build Build Output
  • Issue #146593375: Processing the events in the build output windows delays the app install
C++ Import/Sync Code Editor
  • Issue #146115250: Data Binding functionality stops working (Logs show crash in LayoutBindingShortNamesCache$3.compute)
  • Issue #147802433: Proguard unresolved symbols shown in gray instead of red
ConstraintLayout
  • Issue #140882056: ConstraintLayout's Flow class located in different package in androidx and android.support
Data Binding
  • Issue #147609508: Data Binding not resolving the binding class for layouts in different sourceSet
  • Issue #146538006: IDE sometimes fails to resolve "include" layouts
Design Tools Dexer (D8) IntelliJ
  • Issue #145767113: Failed to start Git process User Authentication Token not found
Layout Editor Layout Inspector
  • Issue #148890011: LayoutInspector violates WebView Strict Mode and spams popups
Lint New Project Wizard Project System
  • Issue #147246554: "Not a gradle Project" When a build file is defined in the settings.gradle.kts with rootProject.buildFileName
  • Issue #128673540: kotlin DSL gradle and AndroidX refactoring
Project View Resources
  • Issue #148173587: [Regression] Importing SVG is broken ("fillType was already specified")
Shrinker (R8)
For information on new features and changes in all preview builds of Android Studio 4.0, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.