Android Studio 4.0 Beta 5 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 #152872138: Disabling AGP features causes ./gradlew connectedCheck to fail
- Issue #152996306: Occasional, hard-to-repro DexArchiveMergerException when building
- Issue #148525428: Android Studio 4.0 Canary 8 and 9 don't pick up versionCode changes when using app bundle and APK
- Issue #152759930: Main dex list fails w/o javac output
- Issue #152500503: Downgrade “Creating configuration” to debug-level?
- Issue #151239523: Data Binding / View Binding projects suffer performance due to BindingClassFinder.findAllBindingClasses
- Issue #153042496: Support compatibility mode for JVM default in Kotlin for minSdkVersion 16-20
- Issue #149045341: Very long sync times when consuming a custom configuration
- Issue #151496808: [BUG][4.0.0-beta02] LayoutInspector -> [+ Select Process ] Button does nothing...
- Issue #140642032: Kotlin class property annotated with VisibleForTesting not generating error/warning when called from other Kotlin code
- Issue #150292219: Lint runs twice as slow on AGP 4 Beta 1 + False Positive
- Issue #123835101: Quickfix is out of reach and crashes on same input
- Issue #151289778: [AGP 4.0.0-beta02] Lint fails with Java OutOfMemoryError
- Issue #151964517: VerifyError rejected class with com.google.android.gms.internal.measurement.zzx
- Issue #152865051: Incorrect code after desugaring
- Issue #152715309: R8 does not work with TestModules AGP.4.1 alpha
- Issue #152413696: ViewBinding: including layout with an ID equal to the layout name produces "variable might not have been initialized"
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.