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
- Issue #71894463: Radial Gradient SVG from Sketch is not imported correctly by the Vector Asset Tool
- Issue #147448576: AGP 3.6 RC 1: Unsupported gradient type: "sweep"
- Issue #146593375: Processing the events in the build output windows delays the app install
- Issue #148805330: Syncing C++ projects leak memory in AGP 3.6rc02
- 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
- Issue #140882056: ConstraintLayout's Flow class located in different package in androidx and android.support
- Issue #147609508: Data Binding not resolving the binding class for layouts in different sourceSet
- Issue #146538006: IDE sometimes fails to resolve "include" layouts
- Issue #147805557: Improve packing algorithm in multi preview window
- Issue #147865212: D8 in debug mode fails for valid local information spanning only a 'nop'
- Issue #148734239: Running R8 or D8 loses the 4.X version of compatibility.
- Issue #148366506: Bug in PeepholeOptimizer
- Issue #145767113: Failed to start Git process User Authentication Token not found
- Issue #143600084: Views cannot be dragged to Flow element in component tree
- Issue #37117915: Help button for Layout Editor
- Issue #148890011: LayoutInspector violates WebView Strict Mode and spams popups
- Issue #64415817: NPE on method reference
- Issue #113198298: UnusedResources should handle checking dynamic feature modules
- Issue #148930092: Modules without .iml files may cause "empty android project view"
- Issue #147701786: Strings not escaped for app name
- 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
- Issue #111527585: Android project view refreshes over and over again
- Issue #148173587: [Regression] Importing SVG is broken ("fillType was already specified")
- Issue #147411673: R8 causes issues with OkHttp 4.3
- Issue #147386014: Class
.genericInterfaces returns T in the array - Issue #147480426: NullPointerException at ProguardMapMinifier.java while compiling androidTest apk
- Issue #147470785: R8 causes issues with aar specified proguard.txt
- Issue #148313389: Incorrect vertical class merging with full mode enabled leads to crash (AGP 3.6.0-rc1 and higher)
- Issue #148021799: Unreachable DexItemBasedConstString in AGP 3.5.3
- Issue #148525512: Version 2.1.2-dev (java-lang-VerifyError)
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.