Android Studio 4.2 Beta 2 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.
For information on new features and changes in all preview builds of Android Studio 4.2, 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.
General Fixes
Lint
- Issue #174480831: textOutput(“stderr”) now creating a file
- Issue #172999904: R8 Slowdown and Timeout Due to number of proguard rules
- Issue #173184123: Public tracking bug for b/172895918 - R8 crashing with java.lang.NullPointerException
- Issue #173598082: R8 build failure: Invalid descriptor char 'N'
- Issue #146702651: layout_constraintDimensionRatio value error
- Issue #173198421: Request to insert missing font sizes into textview
- Issue #172694913: AS 4.2 performs incorrect case mapping for camelCase graph IDs when referencing Directions classes
- Issue #173554093: JNI support is incorrectly handling inner class names
- Issue #163156198: Activity Wizard doesn't create files
- Issue #172268020: Unable to create modules in Android Studio
- Issue #173770818: Having tests only under `androidTest/kotlin` will not run any integration tests
- Issue #172695848: Spurious error about android:extractNativeLibs
- Issue #174576241: Kotlin DSL: packagingOptions.exclude broken
- Issue #170657960: Embedded emulator on Windows never closes the emulator process