6

Get 12L  |  Android 12  |  Android Developers

 3 years ago
source link: https://developer.android.com/about/versions/12/12L/get
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Get 12L

Welcome to 12L, a special feature drop coming early next year that makes Android 12 even better on tablets and foldable devices. To learn more about the new features for large screens, see the features and changes overview.

To get started with 12L and try the new features, you can download the 12L emulator image through Android Studio. Complete instructions are below. Setup is fast and you can try your apps on a variety of screen sizes.

For ideas on what to test, see Get your apps ready!

Set up a 12L virtual device

To set up a 12L virtual device, follow these steps:

  1. Make sure you are running the latest preview version of Android Studio Chipmunk.

  2. In Android Studio, click Tools > SDK Manager.

  3. In the SDK Tools tab, select the latest version of Android Emulator, and click OK. This action installs the latest version if it isn't already installed.

  4. In Android Studio, click Tools > Device Manager, then click Create device in the Device Manager panel.

  5. Select a device definition with a large screen, such as the Pixel C in the Tablet category or the 7.6" Fold-in with outer display in the Phone category, then click Next.

  6. Find the 12L system image, called Android API Sv2, and click Download to get it. After the download completes, select this system image and click Next.

  7. Finalize other settings for your virtual device, then click Finish.

  8. After returning to the list of virtual devices in the Device Manager, find your 12L virtual device and click Launch to start it.

Repeat these steps to create a variety of large screen device definitions that you can use to test your app in a variety of large screen scenarios.

Resizable emulator

In addition to large screen virtual devices that you configure for 12L, you can try the new resizable device configuration that's included in Android Studio Chipmunk Canary 3 or higher. When you're using a resizable device definition with a 12L system image, the Android Emulator lets you quickly toggle between the four reference devices: phone, foldable, tablet, and desktop. When using the foldable reference device, you can also toggle between folded and unfolded states.

This flexibility makes it easier to both validate your layout at design time and test the behavior at runtime, using the same reference devices. To create a new resizable emulator, use the Device Manager in Android Studio to create a new virtual device and select the Resizable device definition.

Use the new resizable device definition for the Android Emulator to test 12L with variety of large screen scenarios.

Next steps

Once you have the Android Emulator configured for 12L, here are some things to do next:


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK