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
- 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
- Issue #169442717: Prevent Android Studio to include unrelated files in project
- Issue #169442540: Include header directories in project
- Issue #169442540: Include header directories in project
- Issue #169442540: Include header directories in project
- Issue #169158699: Missing debug symbols, cannot debug .apk that is otherwise working fine
- Issue #169575797: Unable to download sources from maven.google.com
- Issue #168038088: artifact replacements should use the version set in the project
- Issue #157093849: Favorite attributes in UI layout editor not saved correctly
- Issue #169255669: Lint: ClassCastException in RestrictToDetector (related to KT-41290)
- Issue #169483540: Lint false positive on ScopedStorage
- Issue #170210653: Android LintError when `suppressAnnotations` is provided as an empty list
- Issue #170210653: Android LintError when `suppressAnnotations` is provided as an empty list
- Issue #167593732: Add SARIF as supported output format for Lint
- Issue #170240589: [Lint] OutdatedLibrary false positive on firebase-crashlytics
- Issue #170059094: Unresolved reference for NavArgs declared at top of (nested) NavGraph
- Issue #169449461: Image Asset Studio doesn't overwrite all old files when generating files for new adaptive icon
- 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
- Issue #169584856: R8 - Compilation failed to complete
- Issue #169671295: More error handling for retrace command
- Issue #163981284: The retrace api implementation should take a mapping file
- Issue #169672210: [retrace] Print message on waiting for std-in
- Issue #156940162: Sorting column for status shouldn't be alphabetical
- Issue #156100314: Consider handling Crashlytics versions in the upgrade assistant