Android studio arctic fox (2020.3.1) beta release

Time:2021-8-18

Android studio arctic fox (2020.3.1) beta release

△ Android studio arctic fox startup screen

Author / Paris Hsu, product & design, Android

Note: as weAnnounced at the end of last yearIn that case, we have changed the version numbering scheme to match the IntelliJ ide number based on Android studio, i.e. 2020.3, plus our own patch number and a code that is easy to remember and use. We will arrange the codes in alphabetical order. The first one is arctic fox, which is now in beta; The next code is Bumblebee, which is still in the Canary channel.

Now, we are pleased to announce the Android studio arctic fox (2020.3.1) beta ❄️ : The latest version of the official Android IDE, focusing on design, devices and developer productivity. You can nowBeta channelDownload to try out all the new features released during Google I / O 2021:

Despite having to adapt to various challenges in the past year, developer communities around the world continue to create amazing innovative applications. Thanks to the feedback from the community, we have provided and updated this set of tools to enable three main themes:

  • Rapid UI design-UseJetpack Compose, creating a modern UI has never been easier. We provide various tools to help you complete the design journey: create previews in different configurations, navigate your code with compose preview, test separately with deploy preview to device, and check the whole application with layout inspector. Throughout the iteration, you can quickly edit strings and numbers and see immediate updates. In addition, through the accessibility scanner in the layout editor, you can see whether there are accessibility problems in view based layouts.
  • Overwrite new devices, regardless of size-Expand your application to a broader stage, not just mobile phones. Whether it’s wear OS, Google TV or Android auto, we have prepared new simulators and system images, and even real simulations for different test scenarios: pair your watch and mobile phone simulator with wear OS pairing, conduct a virtual run with wear OS heart rate sensor, and switch channels remotely with Google TV remote control, Drive with automotive OS sensor replay.
  • Improve developer productivity-We want to ensure that your workspace and environment are ready for the latest systems and optimize speed and quality. Now, you can enjoy a large number of new functions and improvements brought by the major update of IntelliJ 2020.3, test the new functions brought by Android 12 in the application, improve the application performance with the new UI of memory profiler, clear the background task relationship with workmanager inspector, and use non transitional R-class ide refactoring to improve the construction speed.

In short, this is an upgrade that can’t be missed! ✨ Around these topics, there are many features and improvements in the beta for you to experience. Please continue to read this article or watch the speech below to learn more highlights. You can also skip reading and go directlyBeta channelDownload the Android studio arctic fox (2020.3.1) beta and try the latest features now! Please send us feedback to help us continue to focus on your areas of greatest concern in the next version of Android studio.

Android studio arctic fox (2020.3.1) beta features list

The following is a complete list of new features in Android studio arctic fox (2020.3.1) beta, organized by three themes:

Design

  • Compose Preview-Use compose preview to create a preview of the compose UI! By using @ preview annotation, compose preview can visualize multiple components in different configurations (i.e. themes, devices) at one time, and create a psychological map for you to navigate your code.

Android studio arctic fox (2020.3.1) beta release

△ Compose Preview

  • Compose Layout Inspector-You can now use the layout inspector to examine layouts written in compose. Whether your application is a layout written entirely in compose or a mixture of compose and view, the layout inspector can help you understand how the layout is rendered on the device or simulator, obtain rich details (such as parameters and modifiers passed to each composable), and debug possible problems. When you interact with the app, you can now also choose to enable itLive updatesTo continuously stream data from your device, or disable real-time updates and use them only when neededRefreshAction to reduce the impact on the performance of the equipment.

Android studio arctic fox (2020.3.1) beta release

△ Compose Layout Inspector

  • Deploy preview to device-Use this feature to deploy UI fragments to a device or simulator to test a small part of your code in the device without starting a full application. Your preview will get the same running environment (permissions, resources) as the application. Just click the deploy to device icon, which is located at the top of the compose preview or next to the @ preview comment in the gutter bar of the code editor. Android studio will deploy the @ preview to the connected device or simulator.

Android studio arctic fox (2020.3.1) beta release

△ pay attention to the deploy to device button in the preview and gutter bar of the editor

  • Character real-time editing-The real-time editing function of characters allows developers using compose to quickly edit characters (strings, numbers, Boolean operations) in the code and see the results immediately without waiting for compilation. This feature increases your productivity by allowing code changes to be reflected almost immediately in previews, simulators, or physical devices.

Android studio arctic fox (2020.3.1) beta release

△ edit numbers and strings and immediately see the results on the preview and device

  • Accessibility scanner in layout editor-Android studio is now integrated with the Android accessibility test framework to help you find accessibility issues in your layout. When using the layout editor, click the error report button to view this panel. Accessibility scanner will report problems related to accessibility and recommend repair methods for some common problems (such as lack of content description or poor comparison).

Android studio arctic fox (2020.3.1) beta release

△ accessibility test framework scanner in layout editor

equipment

  • Wear OS pairing-We have created a new wear OS pairing assistant to guide developers to pair the wear OS simulator directly with physical or virtual phones in Android studio step by step. You can pair the assistant through the device drop-down menu > wear OS simulator(Wear OS emulator pairing assistant)Use this feature. Please note that at present, it only supports pairing with wear OS 2 partners, and support for wear OS 3 will be launched soon. Please readOfficial documentsFor details

Android studio arctic fox (2020.3.1) beta release

△ wear OS simulator pairing Assistant dialog box

Android studio arctic fox (2020.3.1) beta release

△ mobile phone + Watch simulator pairing success status

  • New wear OS system image-The system image of wear OS 3 developer preview is now available, allowing you to play with the latest version of wear OS!

Android studio arctic fox (2020.3.1) beta release

△ wear OS system image

  • Heart rate sensor for wear OS simulator-To help you test the wear OS application, the Android simulator now supports running the wear OS simulatorHeart rate sensor API。 Please download Android simulator v30.4.5 through Android studio SDK manager, which is the minimum version supporting this function.

Android studio arctic fox (2020.3.1) beta release

△ heart rate sensor in wear OS simulator

  • Google TV remote control-In addition to supporting the new Google TV interface, we also provide an updated remote control panel to support the new remote control functions of Google TV, including user profiles and settings.

Android studio arctic fox (2020.3.1) beta release

△ Google TV remote control

  • New Google TV system image-We updated the system image to give you the freedom to explore the new Google TV experience.

Android studio arctic fox (2020.3.1) beta release

△ Google TV system image

  • Automotive OS sensor playback-You can now use the Android automotive simulator to simulate the driving scene and play back the vehicle sensor data (such as speed and gear) to complete your development and test workflow.

Android studio arctic fox (2020.3.1) beta release

△ Android automotive OS sensor playback

Developer productivity

  • IntelliJ platform update-The Android studio arctic fox (2020.3.1) beta includes the IntelliJ 2020.3 platform version, which has many new features, such as debugger interaction tips, new welcome screens, and a large number of new code editor enhancements, which can speed up your workflow. Please readOfficial documentsLearn more.
  • Android 12 lint check-We have added lint checks for building applications for Android 12 so that you can get guidance in a specific context. To name just a few: custom declarations for startup screens, approximate location permissions for fine location use, media formats, and sensor high sampling rate permissions.
  • Non transitive R-class reconstruction-Using non transitive r class in Android gradle plug-in can bring faster construction speed for applications with multiple modules. It prevents duplication of resources by ensuring that each module contains only references to its own resources and does not extract references from dependencies. You canRefactor > migrate to non transitive r classesTo use this feature.
  • Apple silicon supports preview-For those who use MacOS on Apple silicon (arm64) hardware, Android studio arctic fox provides preview support for this new architecture. Arm64 platform support is still under active development, but we want to provide you with a starting point for your feedback. Since this is a preview of the arm64 architecture, you need toAndroid studio download archive pageFind MAC (Apple silicon) in and download it separately.
  • Extended control in simulator tool window-When the simulator opens in the tool window, developers can access all extension controls of the simulator. These extended controls will provide developers with powerful tools to test applications in Android studio, such as navigation playback, virtual sensors and snapshots. To start the simulator in Android studio, go to in Android studioPreferences > Tools > emulator, and then select start in tool window.

Android studio arctic fox (2020.3.1) beta release

△ extended control in simulator tool window

  • Background Task Inspector-Now, when usingWorkmanager LibraryIn version 2.5.0 or later, you can use the background task inspector to visualize, monitor and debug the background worker of the application. You can use theView > tool windows > app inspectionTo use this feature. When you deploy applications on devices with API level 26 and above, you can see the activity of the worker in the background task inspector tab, as shown in the following figure. Please readOfficial documentsLearn more.

Android studio arctic fox (2020.3.1) beta release

△ Background Task Inspector

  • Parallel device testing with test matrix-The plug-in test can now be run in parallel on multiple devices and viewed through a special plug-in test results panel. The panel is called test matrix and can stream test results in real time. Please readOfficial documentsLearn more.

Android studio arctic fox (2020.3.1) beta release

△ test matrix runs tests in parallel on multiple devices

  • New recording interface for memory profiler-We have integrated the memory profiler interface for different recording activities, such as capturing heap dumps and recording Java, kotlin and native memory allocation.

Android studio arctic fox (2020.3.1) beta release

△ memory Profiler: Java / kotlin allocation record

  • Update system requirements-To ensure that we provide the best experience for Android developers, we updated the system requirements for using Android studio. These requirements also represent the configuration we use to thoroughly test Android studio to ensure high quality and high performance. We plan to update these requirements more frequently in the future. Although you can still use systems that are lower than the configuration requirements, we cannot guarantee compatibility or support when doing so. Please go to the officialDeveloper websiteView updated system requirements.

Finally, summarize the new and improved features included in the Android studio arctic fox (2020.3.1) beta:

Design

  • Compose Preview
  • Compose Layout Inspector
  • Deploy preview to device
  • Character real-time editing
  • Accessibility scanner in layout editor

equipment

  • Wear OS pairing
  • Heart rate sensor
  • New wear OS system image
  • Google TV remote control
  • Google TV system image
  • Automotive OS sensor playback

productivity

  • Intellij 2020.3.1
  • Android 12 lint check
  • Non transitive R-class reconstruction
  • Apple silicon supports preview
  • Android simulator extension control
  • Background Task Inspector
  • Test Matrix
  • Memory profiler new recording interface

You may also see other new features at the I / O conference. These features are not included in the above list, but are arranged in the Android studio (2021.1.1) Bumblebee canary, and are not fully ready to be released in the beta channel:

Design

  • Interactive compose Preview
  • Composite animation Preview
  • Preview Configuration Picker
  • Animation vector drawable Preview
  • Compose Blueprint Mode
  • Compose constraints preview for constraintlayout

equipment

  • Automotive OS USB passthrough – coming soon
  • Automotive OS rotary controls – coming soon

productivity

  • Kotlin coroutine debugger
  • Device Manager
  • Integrating gradle instrumented test runner in Android studio
  • Gradle managed device

Don’t miss the speech on Google I / O 2021

With the release of this exciting version, the Android studio team also released a series of speeches on Android studio. Watch the following presentation video to learn about the latest features and get tips and experiences on how to use Android Studio:

Use immediately

Android studio arctic fox (2020.3.1) is an important version, and now it isdownloadAnd experience the beta, so that new features can be integrated into your workflow in time. Although the beta version is close to the quality of the stable version, like any beta version, errors may still exist. Therefore, if you do find a problem, please let us know and we will try to repair it. If you are already using Android studio, you can view the updates of the beta channel through the navigation menu(Help > Check for Update [Windows/Linux] , Android Studio > Check for Updates [OS X])。 After updating to the beta version, you can use the new version of Android studio and Android simulator.

As always, I hope you can submit more feedback and tell us what features you like and what problems you see. If you find an error or bug, please submit it to us as soon as possible.

Your feedback and questions about the product are very important to us. Welcome to submit feedback to us through the QR code below. Your question may appear and be answered in the next FAQ. Thank you for your support!

Android studio arctic fox (2020.3.1) beta release