Post by Jamal Eason, Product Manager

We are stimulated to kick off the new year with a stable exhaust of Android Studio 3.3 concentrate on elaboration and aspect. You can download it today from developer.android.com/ studio. Located on the feedback from many of you, we have made a step back from massive facets to focus on our quality fundamentals. The purpose is responsible for Android Studio continues to help you stay beneficial in impelling great apps for Android. Since the last stable liberate, Android Studio 3.3 address over 200 user- reported defects. This release also includes official expressed support for Navigation Editor, improved incremental Java compilation when using annotation processors, C ++ code lint inspections, an updated new projection hotshot, and usability fixes for each of the performance profilers. In add-on, saving snapshots on depart for the Android emulator is 8x faster.

Android Studio 3.3 kickings off the broader tone sharpen arena for its first year, which we call Project Marble. Advertise at the Android Developer Summit in November 2018, Project Marble is the Android Studio team’s focus on offsetting the fundamental rights the characteristics and overflows of the Integrated Development Environment( IDE) rock-solid, along with refining and improving the user-facing aspects that matter to you in your day-to-day app development workflows. In Project Marble, we are specifically looking at reducing the number of sounds, hangs, recollection holes, and user-impacting glitches. We are also investing in our measurement infrastructure to prevent these issues from resulting. Stay adjusted for more informs and details as we progress on “the citizens initiative”.

This liberation of Android Studio is a solid milestone for the product. If you want the latest in aspect refinement and tone, then download Android Studio 3.3 today on the stable handout path. Watch and speak below for some of the conspicuous changes and enhancements that you will find in Android Studio 3.3.

Develop Navigation Editor – The piloting writer is a visual journalist which allows you to construct XML resources that support exerting the new Jetpack Navigation Component. With the Navigation Editor and the Navigation Component, you can construct predictable interactions between the screens and content areas of your app. This writer was previewed in an earlier Android Studio release, but based on your feedback we held this facet to improve the quality of the piece. Thank you to the developers who gave us feedback. Learn more.

Navigation Editor

IntelliJ Platform Update – Android Studio 3.3 includes Intellij 2018.2.2. This is a significant platform release from Jetbrains, with new previews for the system journalist, updated icons, MacBook Touch Bar support, plus enhanced edition controller integrations. Learn more.

Kotlin Update – This liberation of Android Studio packets Kotlin 1.3.11, with expressed support for Kotlin coroutines and contracts plus IDE support for the recommend Kotlin coding style. Learn more.

Clang-Tidy Support for C ++ – Android Studio now has expressed support for Clang-Tidy for C ++ static code analysis. Similar to the current lint expressed support for Java and Kotlin in Android Studio, Clang-Tidy helps those who have C ++ in their Android app identify common coding mistakes and imperfections. Enable regular inspections by going to see Settings- Editor- Inspections( Preference- Editor- Inspections for MacOS). Learn more.

Clang-Tidy Code Inspection Settings

New Project Wizard inform – To support the reach of invention natures, programing language, and new fabrics, we have updated the New Project Wizard for Android Studio. You can access the same campaign templates in a a lot simpler customer experience.

New Project Wizard

Delete Unused IDE Directories – To help you upgrade to the most current version of Android Studio, we have added a new aspect to aid cleaning process unused settings& cache directories. Past versions of Android Studio left these old-time directories that were hard to find and remove on your hard drive. When you two are passage Android Studio 3.3 and higher, the new dialog advocates directories that you can safely remove from past facilities of Android Studio.

Delete Unused Directories Dialogue

IDE User Feedback – To help us to create a better make, we have started to include in-product sentimentality buttons for quick feedback. For those who opt-in to sharing usage data, feel free to click on the icon that dress your sensibility while expending Android Studio. To opt-in to give in-product feedback go to Settings- Appearance& Behavior- Structure Settings- Data Sharing( Preferences- Appearance& Behavior- System Settings- Data Sharing for MacOS ).

IDE User Feedback

Build

Improved incremental Java compilation when using annotation processor – This update lessens build time by improving support for incremental Java compilation when using annotation processors. The optimization compels Android Gradle plugin 3.3.0 or higher. Learn more .

Lazy undertaking configuration – The plugin uses Gradle’s new duty initiation API to bypas initializing and configuring tasks that are not required to complete the present build( or assignment not on the execution enterprise diagram ). For speciman, if you have various build variances, such as “release” and “debug” improve discrepancies, and you’re improving the “debug” version of your app, the plugin forestalls initializing and configuring tasks for the “release” version of your app. Learn more.

Single-variant programme sync – Along with build accelerate, assignment sync speed can be a development bottleneck to for those who have enormous app jobs with numerous build variants. In this explanation of the IDE, you can you can limit syncing to merely the active structure variant. In require for this optimization to work, your activity needs to use Android Gradle plugin 3.3.0 or higher. You can enable this alternative under the Experimental wishes in Android Studio 3.3.

Single-Variant Project Sync

Android App Bundles now substantiate Instant Apps – You can now build and distribute Google Play Instant knows from a single Android Studio projection, and include them in a single Android App Bundle. Propelled last year, the Android App Bundle is the new rule Android app publishing format that you can construct with Android Studio. This update modernizes and amalgamates the build artifacts that you upload to Google Play. Learn more.

Test

Multiple Emulator AVD instances – Android Emulator 28.0 now supports the ability to launching multiple the case of an the same Android Virtual Device( AVD ). Each speciman of the AVD utilizes a negligible list of organization sources. For those developers with endless integration( CI) measuring surroundings, this can be a opportune lane to control measures in parallel off one AVD configuration. On the require front flowed the following commands:

$./ emulator -avd -read-only& $./emulator -avd -read-only&

Android Emulator: Numerous AVD Launch

Android 9 Pie Emulator System Images& Wi-Fi P2P – Alongside Android Studio 3.3, you are able to download Android 9 structure portraits for your emulator for your app testing. The Google Play emulator organization portrait not only passe the official Android Compatibility Test Suite( CTS ), they also include support for Peer-to-Peer Wi-Fi direct linkages between two emulators. To start using this feature, propels the emulator( v28. 0.22 or higher) via the bidding wire and ensure the two emulators share the same Wi-Fi server and client port word order arguings.

$./ emulator @< server-avd-name> -wifi-server-port 9999 $./emulator @< client-avd-name> -wifi-client-port 9999

Android Emulator: Wi-Fi P2P Setup

Emulator Snapshot Save Speed – We have heard from you that you experience using snapshots and quickboot, but felt the time taken to close the emulator and Quickboot save a snapshot was slacken. To solve this, we optimized the room snapshots are saved and organized, squandering a mapped folder to save guest RAM. From aggregate metrics, we found that this optimization had contributed to driving down the average quickboot save duration from the last stable version to now from 27 seconds down to 30 seconds — a 8x increase. Learn more about this enhancement and other recent improvements to the emulator here.

Optimize

Profiler performance increases – Based on your feedback, we have dramatically improved Android Studio recital while exerting the profilers in this release. We’ve participated betterments on average of 2x in chassis charges in our regional experiments. Please continue to provide feedback, peculiarly if you continue to see rendition publishes.

Memory Profiler allocation tracking options – In previous liberations, we have heard from you that, in a number of cases, your app plays enormously worse while profiling with the default. To address this, we have changed the default Memory Profiler captivate procedure on Android 8.0 Oreo( API level 26) and higher designs to sample for allocations sporadically. You can adjust this setting in the Allocation Tracking dropdown menu. By default, we also now temporarily put off allocation tracking during CPU enters to decrease the impact on record reactions. Learn more.

Memory Profiler: Allocation Tracking Options

Network Profiler formatted text – The Network profiler in Android Studio 3.3 now formats common text types found in structure payloads by default, including HTML, XML and JSON. You can toggle between formatted and raw verse by steering to either the Response or Request tab, and click on the View Parsed/ View Source link. Learn more.

Network Profiler: Formatted Text

CPU Profiler enclose rendering data – The CPU Profiler now shows you the yield go for each formulate on the central UI thread and Render Thread when you record with Trace System Calls. If you are trying to investigate and understand the blockages or the causes of UI jank in your app, this data can come in handy to ensure where you can improve your app action. Learn more.

CPU Profiler: Frame Rendering Data

To recap, Android Studio 3.3 includes these new enhancements& facets:

Develop

Navigation Editor IntelliJ 2018.2.2 Platform Update Kotlin 1.3.11 Update Clang-Tidy Support for C ++ New Project Wizard update Deletes Unused IDE Directories IDE User Feedback

Build

Improved incremental Java compilation when using annotation processors Lazy chore configuration: Single-variant activity sync Android App Bundles now supports Instant Apps

Test

Multiple Emulator AVD instance Launch Android 9 Pie – Emulator System Images Emulator Snapshot Save Speed Improvement

Optimize

Profiler Performance Improvements Memory Profiler: Allocation Tracking Options Network Profiler: Formatted Text CPU Profiler: Frame Rendering Data

Check out the Android Studio release mentions, Android Gradle plugin release memoes, and the Android Emulator release memoranda for more details.

Getting Started

Download

Download the latest version of Android Studio 3.3 from the download page. If you are using a previous freeing of Android Studio, you can simply update to the latest version of Android Studio as well. If you want to maintain a stable explanation of Android Studio, you can run the stable freeing account and canary-yellow release different versions of Android Studio at the same era. Learn more.

To use the mentioned Android Emulator features make sure you are running at least Android Emulator v28. 0.22 downloaded via the Android Studio SDK Manager.

We admire any feedback on things you like, and issues or facets you would like to see. If you find a flaw or question, feel free to file an issue. Follow us — the Android Studio development unit- on Twitter and on Medium.

Read more: feedproxy.google.com