Android Studio - Bumblebee | 2021.1.1 Patch 2 is now available in the Stable channel.
If you already have an Android Studio build on the Stable channel, you can get the update by clicking Help > Check for Update (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.
General fixes and features
This update addresses for the following issues:
Android Gradle Plugin
Issue #213534628: Android Gradle Plugin 7.1.0-rc01 fails to perform ASM bytecode transformation during unit tests
Issue #210484302: Android studio 2021.1.1 beta5 . Gradle sync fails with "Unable to load class 'com.android.build.api.extension.AndroidComponentsExtension'."
Issue #194937528: Some new DSL blocks can't be used from Groovy DSL in Android Gradle Plugin 7.0.0
Issue #201080958: AGP 7.1 new publishing API: created javadoc jar does not get signed
Issue #216160972: ClassesDataSourceCache should use latest Asm version
Issue #217880219: Android Studio BumbleBee does not always deploy latest changes
C++ Build
Issue #216261600: ModelCache.safeGet(androidProjectResult.androidProject::getNdkVersion, "") must not be null
Code Editor
Issue #201148610: Bug in Android Studio Live Templates - the className() expression is not resolving the class name
D8/R8
Issue #210148618: java.lang.NoSuchMethodError: No static method $jacocoInit
Issue #210485236: Android test coverage broken due to Mockito error
Issue #211646483: Need workaround for broken CAS implementation on API 31
Issue #212279104: Sealed classes are not supported
Issue #215742573: NullPointerException when enabling horizontal class merging in Chrome
Issue #215337594: AbstractMethodError after virtual method merging
Issue #216208539: Failure to verify stack frames due to incorrect init-class out-type
Issue #213369062: Dex input uses a register that is not defined
Issue #216473340: StringBuilderOptimizerAnalysisTest is failing on release branches
Issue #217727847: Non-determinism in R8
Deployment
Issue #181004316: Running the project of a device owner application fails with "Couldn't terminate the existing process for" error message
Design Tools
Issue #206862224: Compose Previews fail to find resources from other modules when non-transitive R classes is enabled
Issue #216398612: Studio freezes on build.
Embedded Emulator
Miscellaneous performance and stability improvements.
Import/Sync
Issue #217589134: IDE error when launching Bumblebee: Output listing build file is not available for output type Apk in IdeBuildTasksAndOutputInformationImp
IntelliJ
Issue #216364005: Env variables not sourced when launched from Mac OS X to Monterey Dock
Jetpack (androidx) > Navigation
Issue #203559535: Upgrade SafeArgs to be built on latest stable AGP
Tools Windows
Issue #216194180: Can't run Android Device Manager
Issue #217765670: Network Inspector in BumbleBee doesn't show the api response in readable format
For information on new features and changes in all releases of Android Studio, see the Android Studio release notes.
We greatly appreciate your bug reports, which help us to make Android Studio better. If you experience a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that it also affects you.