Android Studio, the official Android programming IDE, has a new official version. This is Android Studio Bumblebee 2021.1.1, following the new nomenclature released in the previous version, Artic Fox. Each major release tracks the name of an animal that begins with the next letter of the alphabet.
Android Studio Bumblebee introduces several important new features, such as a brand new device manager that complements the new emulator, the ability to link real devices using ADB wirelessly, a new layout inspector and much more. Moreover.
New Device Manager
Android Studio’s Device Manager has completely changed from a floating window to another panel, which you can dock or undock as you please (as well as turn it into a window, if you liked the old way).
This manager will be the new place to create and configure virtual devices, which are now complemented by real physical devices that you have logged into, in a new tab. Each device also includes the View on Disk context menu, which takes you to the folder on your PC where your files are located.
The emulator interface also changes, being an integrated panel in the IDE instead of a floating window and with other changes, such as the operation of screenshots or the buttons to control it.
Wireless ADB with QR code
One of the novelties of Android 11 is the possibility of connecting to ADB without cables and in a simple way, with a digital code or by scanning a QR code. Android Studio Bumblebee is the first official version of Android Studio that lets you pair phones via ADB with a QR code.
The process requires you to enable Developer Options and Wireless ADB, which includes pairing using the QR code. You will need to scan the code that appears in Android Studio by accessing the Pair using Wi-Fi menu in Device Manager.
What’s New in Layout Inspector
Android Studio’s Layout Inspector has many new features in this release. For starters, it is able to save a screenshot of the app’s view hierarchy, so you can share it with others or view it later. Moreover, it is able to inspect the semantic information of your layouts created with Compose.
Using the Android Studio Layouts analyzer will also be more comfortable, since it is possible to prevent the application from restarting when activating the inspector, using an ADB command that you can consult in the documentation official.
Application inspection improvements
Android Studio Bumblebee includes more powerful tools to analyze your app from the View > Tool Windows > App Inspection menu. For starters, Network Inspector is part of App Inspection, otherwise it retains the same functionality as before.
The Background Task Inspector now lets you inspect your application’s tasks, alarms, and wakelocks, as well as view workers. Each asynchronous task appears under its category in the list, and if you tap on one, you get more information in the details pane.
What’s new in Composer
As of Android Studio Bumblebee, Composer’s interactive preview is enabled by default, so you can interact with the interface. This interactive preview works independently from the rest and works as a limited way to test the interface, with some limitations (no internet or file access).
AVD animation preview
A small but useful addition is that the Animated Vector Drawing tool can play Drawable Vector or AVD animations. So you can see how the Animation List, Animated Vector and Animation Picker look like from Android Studio and fine tune the animations.
Support for KMP Runtime Tests: You can now load tests for Kotlin Cross-Platform (KMP) from Android Studio, as long as you meet the AGP 7.0.0-alpha08, Gradle Terms of Service 6.8.2 and Kotlin plugin 1.4.30 or higher.
Default non-transitive R classes: This release of Android Studio enables non-transitive R classes to compile apps with multiple modules faster by preventing resource duplication.
Better Apple Silicon support: Android Studio already supported Apple’s arm64 processors, but this new version includes universal binaries for platform tools, so they don’t need Rosetta to operate.
Updated device selector. The list of reference devices that appear in different tools (such as layout editor or layout validation) is renewed, separated by categories and with reference devices for different sizes.
As always, you can update Android Studio directly from the app, in Help > Check for updates, in addition to downloading it directly from its website. The new version is available for Windows, Mac, Linux and Chrome OS.
More information | Android Developers