Posted by Steven Jenkins, Product Supervisor, Android Studio
Right this moment, 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 really helpful 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 adjustments on to an hooked up gadget or emulator. Push adjustments on file save or mechanically and watch your UI replace in actual time. Reside Edit is experimental and could be enabled within the Editor Settings. There are recognized limitations. Please ship us your suggestions in order that we are able to proceed to enhance it. Study extra.
Reside edit |
Themed app icon Preview assist – Now you can use the System UI Mode selector on the toolbar to modify wallpapers and see how your themed app icons react to the chosen wallpaper. (Observe: required in apps concentrating on API degree 33 and better.)
Previewing Themed app icons throughout totally different wallpapers |
Dynamic colour Preview
Allow dynamic colour in your app and use the brand new wallpaper attribute in an @Preview composable to modify wallpapers and see how your UI reacts to totally different wallpapers. (Observe: it’s essential to use Compose 1.4.0 or increased.)
Compose Preview: dynamic colour wallpaper |
Construct
Construct Analyzer activity categorization – Construct Analyzer now teams duties by classes reminiscent of Manifest, Android Sources, Kotlin, Dexing and extra. Classes are sorted by period and could be expanded to show a listing of the corresponding duties for additional evaluation. This makes it simple to know which classes have essentially the most impression on construct time.
Construct Analyzer Job Categorization |
One-click automated profileable construct and run – If you find yourself profiling your app, you wish to keep away from profiling a debuggable construct. These are nice throughout improvement, however the outcomes could be skewed. As an alternative, you need to profile a non-debuggable construct as a result of that’s what your customers shall be working. 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 may 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 parts so as to add APIs to the general public SDK for beforehand launched API ranges. Now, you possibly can scan for and repair SDK extension points with lint assist. Android Studio mechanically generates the proper model checks for APIs which might be 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 lot of habits adjustments and the Rework API removing. Please ensure that to learn in regards to the required adjustments 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 may 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 reminiscent of standing codes, and response headers and our bodies. The foundations decide what responses to intercept and how you can modify these responses earlier than they attain the app. You may select which rule to allow or disable by checking the Energetic 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 Steel 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 colour Preview
- Jetpack Compose and Materials 3 Templates
Construct
- Construct Analyzer Job Categorization
- One-click Automated Profileable Construct and Run
- Lint Help for SDK Extensions
- Breaking adjustments 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
Try the Android Studio launch notes, Android Gradle plugin launch notes, and the Android Emulator launch notes for extra particulars.
Obtain Studio Right this moment!
Now’s the time to obtain Android Studio Flamingo (2022.2.1) to include the brand new options into your workflow. As at all times, we admire any suggestions on stuff you like and points or options you wish to see. In the event you discover a bug or concern, please file a difficulty and in addition take a look at recognized points. Bear in mind to additionally observe us on Twitter, Medium, or YouTube for extra Android improvement updates!