New features for developers in Android Studio 3.6 - Android

Get it on Google Play

New features for developers in Android Studio 3.6 - Android

Android Studio 3.6 is now available on the stable channel and provides a host of interesting new features for developers.

Hot on the heels of Android 11 Developer Preview, Android Studio 3.6 is now available on the stable channel, meaning that developers can start confidently using it for their projects. This brings a number of useful features and upgrades, including a new “Split View” in the design editor for more quickly developing and previewing XML layouts.

Another exciting new feature is support for multiple displays in the Android Emulator. Automatic memory leak detection meanwhile promises to make debugging that much easier. You can check out the full slew of features from the Android Developers blog, or get the highlights below.

Split view and editing

Android Studio 36 Updatae

Perhaps the most interesting new feature in Android Studio 3.6 is Split View for the design editors. This lets you see the XML code side-by-side along with the preview render. This is a small thing, but it actually makes life a lot easier for seeing the effect that changes to code have right away (and vice versa). The view you choose will be saved on a case-by-case basis too, meaning that you can easily load your preferred set-up depending on the file you’re editing.

Split View Android Studio 3

While we’re discussing design, we should also note the new color picker that makes it much easier to choose and populate color values without typing out values. This is available through the XML editor and design tools.

Quicker development

When it comes to development, a few new changes should make life easier for Android Developers in Android Studio 3.6.

View Binding is a particularly welcome inclusion, that will offer compile-time safety when referencing views. With this option enabled, you will generate a binding class for each XML layout file in the module. This will effectively replace the need for findViewByID: you’ll be able to easily reference any view with an ID without risking null pointer exceptions or class cast exceptions. This could prove to be very useful and reduce a lot of boilerplate.

Other new updates include the release of the IntelliJ 2019.2 platform with better startup times and a new services tool, as well as Kotlin support for more Android NDK features. Updates to Android Gradle plugin include support for the Maven Publish Gradle plugin. This lets you build artefacts to an Apache Maven repository.

Testing and debugging

Android Emulator 29.2.12 makes it easier for developers to interact with the emulated device location. Google Maps is now embedded into the extended controls menu, making it easy to specify locations and create routes.

Multiple displays Android Emulator Android Studio 36

Perhaps more pertinent still is support for multiple virtual displays, which will be useful for those designing for devices like the Samsung Galaxy Fold.

Read also: Developing for foldable devices: What you need to know

Leak detection in the Memory Profiler will detect Activity and Fragment instances that might have leaked.

Build times have also improved for debug builds thanks to the use of zipflinger.

More quality of life changes

This is just a small selection of the updates available in Android Studio 3.6. You’ll find a host of other small updates as you use the new software too: including resumable SDK downloads, which is ideal for those that don’t always have an hour spare to download the latest Android system image! Grab Android Studio 3.6 here.

Of course, over on the Canary Channel you can already get your hands on Android Studio 4.1. What do you make of these new features? What would you like to see come to Android Studio in future?

More posts about Android 11

Android 11 logo stock photo 2

Android 11 receives its first maintenance update: Here’s what’s new

Google Pixel 4 vs Pixel 4 XL 1

Pixel owners can now pin their favorite apps to the share menu (Updated)

android 11 dark mode scheduling

Android 11 adds new custom timing dark theme feature (Updated)

Android 11 logo stock photo 1

Android 11 Developer Preview: Everything developers need to know

google pixel 4 xl oh so orange display home screen 2

Pull up Google Pay with just one button on your Pixel (Update: Removed)

Essential may be dead but its only phone will still get a taste of Android 11

google pixel 4 vs pixel 3 vs pixel 3a 6

Google testing double-tap gesture on rear of Pixel phones

samsung galaxy note 10 plus star wars edition quick settings

Google testing Quick Settings shortcut in Android 11, just like back in the day

YouTube Music - best free music apps

Android 11 might move music player to Quick Settings, but it looks kinda weird

notification history google pixel 4 xl

Android 11 could let you easily see dismissed notifications

08/03/2020 08:00 AM