Android Studio is the formal IDE for Android advancement, and consists of every thing you have to have to establish Android apps.
Visual structure editor
Create complex layouts with ConstraintLayout by incorporating constraints from each individual perspective to other views and guidelines. Then preview your structure on any display screen size by picking out 1 of different machine configurations or by basically resizing the preview window.
Find options to reduce your Android application dimension by inspecting the contents of your app APK file, even if it was not crafted with Android Studio. Inspect the manifest file, assets, and DEX documents. Examine two APKs to see how your application dimensions modified amongst application variations.
Push code and source improvements to your app working on a unit or emulator and see the improvements instantaneously arrive to everyday living. Instantaneous Operate radically speeds up your edit, build, and operate cycles, preserving you “in the movement.”
Smart code editor
Publish improved code, operate quicker, and be a lot more successful with an clever code editor that gives code completion for Kotlin, Java, and C/C++ languages.
Set up and run your apps quicker than with a physical system and simulate unique configurations and functions, which include ARCore, Google’s system for setting up augmented fact encounters.
Adaptable develop method
Run by Gradle, Android Studio’s make procedure allows you to personalize your build to generate a number of create variants for unique units from a one task.
The built-in profiling equipment present realtime stats for your app’s CPU, memory, and network action. Recognize efficiency bottlenecks by recording technique traces, inspecting the heap and allocations, and see incoming and outgoing network payloads.
Note: the most recent variations of Android Studio do not present a Window 32-little bit variation. Android Studio 3.6.3 was the previous to provide a Home windows 32-bit model. You can obtain it right here.
Entire release notes can be discovered right here.
New in Layout Inspector: Capture format hierarchy snapshots
Layout Inspector now will allow you to help you save snapshots of your functioning app’s format hierarchy, so that you can quickly share them with other folks or refer to them later on.
Snapshots capture the facts you would ordinarily see when applying the Layout Inspector, together with a detailed 3D rendering of your layout, the part tree of your Perspective, Compose, or hybrid format, and detailed characteristics for every single part of your UI. To save a snapshot, do the subsequent:
- Deploy your app to a machine jogging API stage 23 or better
- Open the Format Inspector by deciding upon View > Instrument Home windows > Format Inspector.
- The Layout Inspector must link to your application system instantly. If not, find the app method from the dropdown menu.
- When you want to capture a snapshot, simply click Export snapshot from the Format Inspector toolbar.
- In the process dialog that appears, specify the identify and location you want to help save your snapshot. Make sure to help you save the file with a *.li extension.
You can then load a Format Inspector snapshot by picking out File > Open up from the major menu bar, and opening a *.li file.
Support for inspecting Compose semantics
In Compose, Semantics describe your UI in an choice method that is easy to understand for Accessibility companies and for the Tests framework. In Android Studio Bumblebee, you can now use the Structure Inspector to inspect semantic facts in your Compose layouts.
When picking out a Compose node, use the Characteristics window to verify irrespective of whether it declares semantic information specifically, merges semantics from its youngsters, or both of those. To promptly detect which nodes include things like semantics, possibly declared or merged, use choose the Perspective alternatives dropdown in the Element Tree window and pick out Highlight Semantics Levels. This highlights only the nodes in the tree that incorporate semantics, and you can use your keyboard to rapidly navigate concerning them.
Doc Structure Inspector snapshots
You can now seize snapshots of your app’s format hierarchy to conserve, share, or inspect later. Snapshots seize the details you would ordinarily see when employing the Structure Inspector, which includes a detailed 3D rendering of your structure, the component tree of your Check out, Compose, or hybrid layout, and comprehensive attributes for each and every part of your UI. When inspecting the structure of a reside managing application, click Export snapshot Export
icon from the Structure Inspector toolbar and help save the snapshot with an *.li extension. You can then load a Structure Inspector snapshot by deciding upon File > Open from the key menu bar, and opening a *.li file. The snapshot seems in a tab in the Editor window, so that you can effortlessly review it with your jogging application.
New in Application Inspection
In Android Studio Bumblebee, there are new equipment and functionalities in the App Inspection window. You can open up the Application Inspector by deciding on Check out > Tool Windows > App Inspection from the key menu bar.
The Network Profiler in the Profilers instrument window has now moved to the App Inspection tool window. If you’ve earlier employed the Community Profiler, all the identical attributes and loaded network targeted traffic information is nevertheless readily available. Simply just deploy your app to a device jogging API degree 26 and greater and open the Application Inspector > Network Inspector tab.
Inspect Jobs, Alarms, and Wakelocks
The Track record Endeavor Inspector now enables you to inspect your app’s Positions, Alarms, and Wakelocks, in addition to the current aid for inspecting Personnel. Each and every kind of asynchronous activity now seems beneath the appropriate heading in the inspector tab, enabling you to conveniently watch its position and progress. Very similar to Employees, you can select a Career, Alarm, or Wakelock to examine its in-depth information in the Endeavor Specifics panel.
Android Studio Bumblebee supports the wireless debugging attribute on Android 11 and bigger products. Pair and deploy your application from Android Studio over Wi-Fi devoid of employing a USB cable or managing Android Debug Bridge (adb) connections utilizing the command line. To use, navigate to the Pair units applying Wi-Fi solution from the unit choice menu, and then both choose a QR code or Pairing PIN Code. Then on your Android 11 and increased device, below Developer selections, and find the Wireless Debugging monitor and initialize and hook up to an adb session wirelessly with Android Studio. Understand far more about the wi-fi debugging set up at Join to a product above Wi-Fi (Android 11+).
Compose interactive preview enabled by default
Commencing with Android Studio Bumblebee, the interactive preview feature is enabled by default. The interactive preview makes it possible for you to interact with a preview as it would function on a unit. The interactive preview is isolated from other preview in a sandbox setting, where you can click elements and enter consumer input in the preview. It is a rapid way to test diverse states and gestures of your composable, like a checkbox getting checked or vacant.
Former release notes
Android Gradle Plugin
- lint standalone plugin doesn’t take care of gradleApi() dependency thoroughly
- JPS make brought on even though Gradle construct runs outside of Studio
- Enabling both of those KSP and Kapt in a challenge with equally made up of processors that make sources breaks BundleLibraryClassesInputs
- UI freezes because of to very long JniReferencesSearch computation in history
- Allow for saving DBs
- Not able to export info employing App Inspection/Databases Inspector with blank room in path
- Java lambdas induce surprising habits when subclassing subclasses
- Can not constrain sort error for the duration of r8 minification
- Difficulty though executing R8 3..69 (from AGP 7..2) and 3..72
Updated variation numbering for Android Studio
We have modified the variation numbering process for Android Studio to extra intently align with IntelliJ Notion, the IDE that Android Studio is based mostly on.
In the previous numbering method, this release would have been numbered as Android Studio 4.3 or edition 4.3..1. With the new numbering system, it is now Android Studio – Arctic Fox | 2020.3.1, or variation 2020.3.1.
Up to date UI for recording in Memory Profiler
We have consolidated the Memory Profiler consumer interface (UI) for distinctive recording actions, these kinds of as capturing a heap dump and recording Java, Kotlin, and native memory allocations.
Updates to Refresh Linked C++ Undertaking
We have moved data files unrelated to configuration from the .cxx/ folder into the make/ folder. CMake C++ builds call for a configuration section that generates the Ninja job which is made use of to execute the compile and link steps. Projects produced by CMake are high priced to deliver and are anticipated to survive across gradle clear. For this cause, they are saved in a folder referred to as .cxx/, up coming to the make/ folder. Normally, Android Gradle plugin will discover configuration changes and instantly regenerate the Ninja challenge. Nonetheless, not all situations can be detected. When this occurs, the “Refresh Linked C++ Project” selection can be employed to manually regenerate the Ninja challenge.
New take a look at matrix for multi-system testing
Instrumentation tests can now operate throughout several products in parallel and can be investigated working with a specialised instrumentation check success panel. Applying this panel, you can figure out if checks are failing due to API level or components homes.
Finish launch notes here.