What’s New at Android Studio Electric Eel (Google I/O 2022)
Google announced quite a lot of new features, APIs and new devices at Google I/O 2022. One of the main focus of the developer keynote was for Android Studio. We’ve created a comprehensive list of everything new announced for Android Studio at Google I/O 2022. Here’s what’s new at Android Studio Electric Eel Canary:
Better stability
Of course with every version there is some kind of work to improve the stability. This year, Google claims that they’ve fixed over 1600 bugs, 20 UI hangs and 12 memory leaks.
Run Jetpack Benchmark
Microbenchmark is a Jetpack library that measures the execution time of your Kotlin or Java code. It’s especially good for code that runs repeatedly like RecyclerView scrolling, data manipulation and such.
Macrobenchmark
Macrobenchmark library is used for testing larger use-cases of your application, such as application startup and complex UI manipulations. It can be run on CI systems as well.

Baseline Profilers
Adding Baseline Profilers to your app lets Android to improve startup speed, method call performance and make your app faster in general.
Crashlytics in Android Studio
Firebase Crashlytics will directly display its reports in Android Studio. You can access the reports through App Quality Insights window. You can see where your app crashed, and go to the line responsible for that crash in Android Studio.

Resizable Emulators
A new Android emulator type, resizable is available. Instead of running apps for various sized screen devices, you can test your apps by resizing the emulator window to desired size.

Live Edit
If you’re building using Jetpack Compose, you can see the results of your code changes in your Compose Preview, running emulators and connected physical devices. This feature is experimental, so look out for bugs.

Animation Preview
Previewing animation required a lot of building and running the app. Those who tweak animations to perfect parameters know that most of the time is spent on waiting for the changes to build. New Android Studio adds previewing animations for Jetpack Compose. You can see a timeline of animations running and tweak them.

Dependency Insights
You can view popular dependencies and how they are used by other developers from Android Studio. If a dependency is marked as outdated, Android Studio will warn you to update to a supported version. More info on Google Play SDK Index, check out its developer page: https://goo.gle/play-sdk

There are many more improvements to Android Studio Electric Eel like wearOS emulators, wearOS device connect, and so on. For a full list of improvements, check out Android Developers Blog page: https://android-developers.googleblog.com/2022/05/whats-new-in-android-studio.html

