Posted by Steven Jenkins, Product Supervisor, Android Studio
Immediately, we’re thrilled to announce the steady launch of Android Studio Flamingo🦩: The official IDE for constructing Android apps!
UI Instruments
Jetpack Compose and Materials 3 templates – Jetpack Compose is now advisable for brand new initiatives so the templates use Jetpack Compose and Materials 3 by default.
Reside Edit (Compose) experimental – Iteratively construct an app utilizing Compose by pushing code modifications on to an connected gadget or emulator. Push modifications on file save or mechanically and watch your UI replace in actual time. Reside Edit is experimental and might be enabled within the Editor Settings. There are identified limitations. Please ship us your suggestions in order that we are able to proceed to enhance it. Be taught extra.
Reside edit |
Themed app icon Preview assist – Now you can use the System UI Mode selector on the toolbar to change wallpapers and see how your themed app icons react to the chosen wallpaper. (Observe: required in apps focusing on API stage 33 and better.)
Previewing Themed app icons throughout totally different wallpapers |
Dynamic shade Preview
Allow dynamic shade in your app and use the brand new wallpaper attribute in an @Preview composable to change wallpapers and see how your UI reacts to totally different wallpapers. (Observe: you could use Compose 1.4.0 or increased.)
Compose Preview: dynamic shade wallpaper |
Construct
Construct Analyzer process categorization – Construct Analyzer now teams duties by classes similar to Manifest, Android Sources, Kotlin, Dexing and extra. Classes are sorted by period and might be expanded to show an inventory of the corresponding duties for additional evaluation. This makes it straightforward to know which classes have essentially the most affect on construct time.
Construct Analyzer Process Categorization |
One-click automated profileable construct and run – If you end up profiling your app, you need to keep away from profiling a debuggable construct. These are nice throughout improvement, however the outcomes might be skewed. As an alternative, you need to profile a non-debuggable construct as a result of that’s what your customers can be operating. That is now extra handy with one-click automated profileable construct and run. Simply configure a profileable app and profile it with one click on. You’ll be able to nonetheless select to profile your debuggable construct by deciding on Profile app with full information. Learn extra on the weblog.
One-click Automated Profileable Construct and Run |
Lint assist for SDK extensions – SDK extensions leverage modular system elements so as to add APIs to the general public SDK for beforehand launched API ranges. Now, you’ll be able to scan for and repair SDK extension points with lint assist. Android Studio mechanically generates the right model checks for APIs which are launched utilizing SDK extensions.
Lint Help for SDK Extensions |
Android Gradle Plugin 8.0.0 – Android Studio Flamingo ships with a brand new, main model of the Android Gradle plugin. The plugin brings many enhancements, but additionally introduces a variety of conduct modifications and the Rework API elimination. Please make sure that to learn in regards to the required modifications earlier than you improve the AGP model in your initiatives.
Examine
Updates to App High quality Insights – Uncover, examine, and reproduce points reported by Crashlytics with App High quality Insights. You’ll be able to filter by app model, Crashlytics indicators, gadget sort, or working system model. Within the newest replace now you can shut points or add helpful annotations within the Notes pane.
Annotate and shut points contained in the notes pane |
Community Inspector visitors interception – Community Inspector now reveals all visitors information for the complete timeline by default. Create and handle guidelines that assist check how your app behaves when encountering totally different responses similar to standing codes, and response headers and our bodies. The principles decide what responses to intercept and learn how to modify these responses earlier than they attain the app. You’ll be able to select which rule to allow or disable by checking the Lively field subsequent to every rule. Guidelines are mechanically saved each time you modify them.
Community Inspector Visitors Interception |
Auto-connect to foreground course of in Format Inspector – Format Inspector now mechanically connects to the foreground course of. You not must click on to connect it to your app.
IntelliJ
IntelliJ Platform Replace – Android Studio Flamingo (2022.2.1) consists of the IntelliJ 2022.2 platform launch, which comes with IDE efficiency enhancements, enhanced rendering efficiency on macOS due to the Metallic API and extra. It additionally improves the IDE efficiency when utilizing Kotlin, which positively impacts code highlighting, completion, and discover usages. Learn the IntelliJ launch notes right here.
Abstract
To recap, Android Studio Flamingo (2022.2.1) consists of these new enhancements and options:
UI Instruments
- Reside Edit (Compose) – Experimental
- Themed app icon Preview assist
- Dynamic shade Preview
- Jetpack Compose and Materials 3 Templates
Construct
- Construct Analyzer Process Categorization
- One-click Automated Profileable Construct and Run
- Lint Help for SDK Extensions
- Breaking modifications in Android Gradle Plugin 8.0
Examine
- Updates to App High quality Insights
- Community Inspector Visitors Interception
- Auto-connect to foreground course of in Format Inspector
IntelliJ
- IntelliJ Platform 2022.2 Replace
Take a look at the Android Studio launch notes, Android Gradle plugin launch notes, and the Android Emulator launch notes for extra particulars.
Obtain Studio Immediately!
Now’s the time to obtain Android Studio Flamingo (2022.2.1) to include the brand new options into your workflow. As all the time, we admire any suggestions on belongings you like and points or options you want to see. Should you discover a bug or challenge, please file a problem and likewise try identified points. Bear in mind to additionally observe us on Twitter, Medium, or YouTube for extra Android improvement updates!