Android Studio 4.2 Canary 15 is now available in the Canary and Dev channels.
If you have Android Studio set to receive updates on the Canary or Dev 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
This update includes fixes for the following issues:
Android Studio- Issue #170733015: Update GPU import to 2.3.0
- Issue #159878401: "Cold Boot Now" on AVD Manager does not really cold boot emulator
- Issue #168687609: Showing Resolution message and open memory settings button when garbage memory time is 0.0 sec
- Issue #169569758: Task duration should not be "0.0 seconds"
- Issue #149108626: [System Trace V2] - Remove padding from top and bottom of minimap
- Issue #170801047: Unable to create profiler recording configuration
- Issue #169819270: Errors in logcat on first install without install after non-compatible change
- Issue #155284464: Emulator tool window icon should be 13x13: emulator.svg
- Issue #155221674: Embedded Emulator: Feature request for device frame on/off
- Issue #162564820: "Enter" key doesn't work in Emulator tool window
- Issue #169825560: Rename deprecation target from 5.0 to 7.0
- Issue #171074702: [NewModule] Missing border between left and details panel
- Issue #169614872: [NewProject] Several spacing/alignment issues not built to-spec
- Issue #170389448: QuickFix to use JDK from project structure not working
- Issue #170709330: "NoSuchMethodException: android.content.res.CompatResources.getLoaders []" when starting from Android Studio
- Issue #170920164: "Unexpected usage left in method" error when compiling chrome with latest R8
- Issue #171197204: Retargeting of invokes to DesugarCollections breaks inlining
- Issue #170677722: Full mode - Fragment 1.3.0-beta01 - FORCE inlining on non-inlinable on FragmentManager
- Issue #170753826: Revise Multi-device tests opt-in flow
Additionally the issues below were addressed in this release but may not necessarily be fixed:
Apply Changes- Issue #169812146: Improve Kotlin lambda error messages
- Issue #171305664: CMake 3.18 support breaks when there's .asm file
- Issue #170750947: Parallelize deployer for multiple devices
- Issue #163608541: First time emulator launch using run does not appear in the android studio window
- Issue #169971952: Android Gradle build freezes
- Issue #170867656: Bug: can't rename some resource files, and no way to reach translation tool if file isn't named "strings.xml"