Tuesday, October 27, 2020

Android Studio 4.2 Canary 15 available


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
AVD Manager
  • Issue #159878401: "Cold Boot Now" on AVD Manager does not really cold boot emulator
Build Analyzer
  • 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"
CPU
  • Issue #149108626: [System Trace V2] - Remove padding from top and bottom of minimap
  • Issue #170801047: Unable to create profiler recording configuration
Deployment
    Issue #169819270: Errors in logcat on first install without install after non-compatible change
Embedded Emulator
  • Issue #155284464: Emulator tool window icon should be 13x13: emulator.svg
Emulator
  • Issue #155221674: Embedded Emulator: Feature request for device frame on/off
  • Issue #162564820: "Enter" key doesn't work in Emulator tool window
Gradle
  • Issue #169825560: Rename deprecation target from 5.0 to 7.0
New Project Wizard
  • Issue #171074702: [NewModule] Missing border between left and details panel
  • Issue #169614872: [NewProject] Several spacing/alignment issues not built to-spec
Project System
  • Issue #170389448: QuickFix to use JDK from project structure not working
Run
  • Issue #170709330: "NoSuchMethodException: android.content.res.CompatResources.getLoaders []" when starting from Android Studio
Shrinker (R8)
  • 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
Testing
  • 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
Build
  • Issue #171305664: CMake 3.18 support breaks when there's .asm file
Deployment
  • Issue #170750947: Parallelize deployer for multiple devices
Emulator
  • Issue #163608541: First time emulator launch using run does not appear in the android studio window
Import/Sync
  • Issue #169971952: Android Gradle build freezes
Resources
  • Issue #170867656: Bug: can't rename some resource files, and no way to reach translation tool if file isn't named "strings.xml"