Android Studio 4.1 Canary 10 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.
Updated themes and styles in new project templates
Android Studio templates in the Create New Project dialog now use Material Design Components and updated themes and styles guidance by default.
To learn more, see the release notes.
Prevent new and existing databases from closing
To make it easier to inspect databases in the Database Inspector, you can prevent new and existing connections to your databases from closing by clicking Keep database connections open.To learn more, see the release notes.
General Fixes
Android Gradle Plugin- Issue #154388196: Gradle configuration fails on project with several modules when AGP is applied using plugin management
- Issue #155318103: Post-tasks variant API: Adding manifest placeholders is broken and breaks the build from AGP 3.x to AGP 4.1.0-alpha08
- Issue #145944388: Compile error because R.java limit (error: too many constants)
- Issue #120865679: App crash (segfault) when debugging JNI functions with local jstring reference
- Issue #155772516: Resource bundle redefinition for plugin 'org.jetbrains.android'. Old value: messages.AndroidBundle
- Issue #156131130: The empty database warning does not have the right colors in Dark mode
- Issue #156134721: Inspector annotator is accessing databases from wrong thread
- Issue #150397979: viewBinding issue with Android Studio 3.6 Stable
- Issue #155825352: Diagnostic warnings are shown as error messages
- Issue #144367566: Record Espresso Test Generates Buggy Tests
- Issue #149687900: testrecorder.ui.RecordingDialog should not initialize constants from network
- Issue #152889824: Support Variant switching without running Gradle (like switching build variants)
- Issue #150397855: local.properties file generated in buildSrc folder
- Issue #139716861: Studio freezes when clicking a Button view in the design surface
- Issue #79671576: Bug: crazy focus changes upon activity creation
- Issue #149773516: Migrating Android Studio 3.5 Project to 3.6 rc03 causes Unsupported modules detected error
- Issue #150933937: Renaming a dynamic feature module in Android Studio doesn't update the base build.gradle
- Issue #142004503: "Remove Unused Resources" for view binding missed method reference syntax (e.g. `LayoutBinding::inflate`)
- Issue #152432842: Navigate to symbol fails to find any symbols
- Issue #154924753: What's New Assistant title fonts are too small
For information on new features and changes in all preview builds of Android Studio 4.1, 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.