Tuesday, October 20, 2020

Android Studio 4.2 Canary 14 available


Android Studio 4.2 Canary 14 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:

Activity
  • Issue #170026127: ActivityResultFragmentVersionDetector lint failure when using 1.2.0-beta01 with fragment 1.3.0-beta01
  • Issue #170026127: ActivityResultFragmentVersionDetector lint failure when using 1.2.0-beta01 with fragment 1.3.0-beta01
Android Gradle Plugin
  • Issue #169252018: AGP fails to build libraries targeting java 1.7
  • Issue #164036336: Incremental changes with multi-release jars, or jars built with target 1.9 may break dexing
  • Issue #168091536: getText() and getString() trims new lines from the beginning of the string
  • Issue #138837769: Allow disabling resource validation in library modules (in parsing local resources)
  • Issue #169896233: Using jetpack compose breaks gradle configuration caching
C++ C++ Debugger
  • Issue #169158699: Missing debug symbols, cannot debug .apk that is otherwise working fine
Import/Sync Jetifier
  • Issue #168038088: artifact replacements should use the version set in the project
Layout Editor Lint Navigation Editor
  • Issue #170059094: Unresolved reference for NavArgs declared at top of (nested) NavGraph
Resource Manager
  • Issue #169449461: Image Asset Studio doesn't overwrite all old files when generating files for new adaptive icon
Running Tests
  • Issue #163791525: INSTALL_PARSE_FAILED_NO_CERTIFICATES when running test on multiple devices
  • Issue #163791525: INSTALL_PARSE_FAILED_NO_CERTIFICATES when running test on multiple devices
Shrinker (R8) Testing Upgrade Assistant
  • Issue #156100314: Consider handling Crashlytics versions in the upgrade assistant