Asserting Android Studio Arctic Fox (2020.3.1) & Android Gradle plugin 7.0

Posted by Jamal Eason, Product Supervisor

Android Studio logo

Immediately marks the discharge of the primary model of Android Studio Arctic Fox (2020.3.1) on the canary channel, along with Android Gradle plugin (AGP) model 7.0.0-alpha01. With this launch, we’re adjusting the model numbering of Android Studio and our Gradle plugin. This variation decouples the Gradle plugin from the Android Studio versioning scheme and brings extra readability to which 12 months and IntelliJ model Android Studio aligns with for every launch.

New versioning scheme – Android Studio

With Android Studio Arctic Fox (2020.3.1) we’re shifting to a year-based system that’s extra intently aligned with IntelliJ IDEA, the IDE upon which Android Studio is constructed. We’re altering the model numbering scheme to encode numerous necessary attributes: the 12 months, the model of IntelliJ it’s based mostly on, plus function and patch degree. WIth this identify change you’ll be able to rapidly work out which model of the IntelliJ platform you might be utilizing in Android Studio. As well as, every main model can have a canonical codename, beginning with Arctic Fox, after which continuing alphabetically to assist make it simple to see which model is newer.

We suggest that you just use the most recent model of Android Studio so that you’ve got entry to the most recent options and high quality enhancements. To make it simpler to remain updated, we made the model change to obviously de-couple Android Studio out of your Android Gradle Plugin model. An necessary element to remember is that there is no such thing as a affect to the way in which the construct system compiles and packages your app while you replace the IDE. In distinction, app construct course of modifications and APK/Bundles are dictated by your challenge AGP model. Due to this fact, it’s protected to replace your Android Studio model, even late in your improvement cycle, as a result of your challenge AGP model will be up to date in a unique cadence than your Android Studio model. Lastly, with the brand new model system it’s even simpler than earlier than for you or your crew to run each the steady and preview variations of Android Studio on the same time in your app challenge so long as you retain the AGP model on a steady launch.

Within the earlier numbering system, this launch would have been Android Studio 4.3. With the brand new numbering system, it’s now Android Studio Arctic Fox (2020.3.1) Canary 1 or simply, Arctic Fox.

Going ahead, right here is how the Android Studio model quantity scheme will work:

<Yr of IntelliJ Model>.<IntelliJ main model>.<Studio main model>

  • The primary two quantity teams signify the model of the ultimate IntellIj platform {that a} explicit Android Studio launch is predicated on (earlier canaries should still be on the sooner model). For this launch, that is 2020.3.
  • The third quantity group represents the Studio main model, beginning at 1 and incrementing by one for each main launch.
  • To make it simpler to refer to every model, we’re additionally giving main releases a code identify, incrementing from A to Z based mostly on animal names. This preliminary launch identify is Arctic Fox.

New versioning scheme – Android Gradle plugin

With AGP 7.0.0 we’re adopting the rules of semantic versioning, and aligning with the Gradle model that AGP requires. Compatibility between Android Studio and Android Gradle plugin stays unchanged. Initiatives that use steady variations of AGP will be opened with newer variations of Android Studio.

We are going to publish another post quickly with extra particulars about our AGP versioning philosophy and what’s new in AGP 7.0.

What’s new in Android Studio Arctic Fox

We’re in early days within the function improvement part for Arctic Fox, however we have now invested a lot of our time in addressing over 200 high quality enhancements and bugs throughout a variety of areas within the IDE from the code editor, app inspection instruments, format editor to the embedded emulator. Try the release notes for the precise bug fixes.

For these making an attempt out Jetpack Compose, we have now a number of recent updates, like deploy @Preview composables to gadget/emulator:

Deploy preview composable

Additionally check out the brand new Structure Validation Device in Arctic Fox to see how your format responds to numerous screens sizes, font sizes, and Android Coloration Correction/Coloration Blind Modes. You’ll be able to entry this through the Structure Validation instrument window when you’re utilizing the Structure Editor.

Structure Validation

Lastly, for these operating MacOS (different platforms are coming quickly) with the most recent Android Platform instruments and an Android 11 gadget, you’ll be able to check out the IDE integration for the Wireless ADB function by going to the Run gadget choice dialogue → Pair Gadgets Utilizing Wi-Fi.

Menu to entry Wi-fi ADB function

Wi-fi ADB Setup Window

What’s Subsequent

If you wish to study extra about different detailed modifications coming with this launch for each Android Studio and the Android Gradle plugin, be sure to check out the release notes.

Recent Articles

What are video codecs? The whole lot you have to find out about AV1, VP9, H.264, others

Digital video has come a great distance for the reason that early 2000s. We’ve seen image high quality enhance leaps and bounds, in tandem...

10 finest digital wellbeing apps for Android

Digital wellbeing is a giant matter as of late. The concept is we spend a lot time on our smartphones that it’s changing into...

Apple vs. Epic Video games lawsuit in Australia to start as court docket rejects keep request

Epic Video games filed a lawsuit in opposition to Apple and the corporate's anti-competitive App Store policies in Australia some time again, however the...

Related Stories

Stay on op - Ge the daily news in your inbox