Posted by Steven Jenkins, Product Supervisor, Android Studio
In the present day, we’re thrilled to announce the secure launch of Android Studio Flamingo🦩: The official IDE for constructing Android apps!
Jetpack Compose and Materials 3 templates – Jetpack Compose is now beneficial 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 hooked up system or emulator. Push modifications on file save or robotically and watch your UI replace in actual time. Reside Edit is experimental and may be enabled within the Editor Settings. There are known limitations. Please ship us your suggestions in order that we will proceed to enhance it. Learn more.
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. (Word: required in apps focusing on API degree 33 and better.)
|Previewing Themed app icons throughout totally different wallpapers
Dynamic shade Preview
Allow dynamic color 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. (Word: it’s essential to use Compose 1.4.0 or larger.)
|Compose Preview: dynamic shade wallpaper
Construct Analyzer job categorization – Construct Analyzer now teams duties by classes corresponding to Manifest, Android Sources, Kotlin, Dexing and extra. Classes are sorted by period and may be expanded to show an inventory of the corresponding duties for additional evaluation. This makes it straightforward to know which classes have probably the most affect on construct time.
|Construct Analyzer Activity Categorization
One-click automated profileable construct and run – When you find yourself profiling your app, you need to keep away from profiling a debuggable construct. These are nice throughout growth, however the outcomes may be skewed. As a substitute, it’s best 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 parts 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 robotically generates the proper model checks for APIs which can be launched utilizing SDK extensions.
|Lint Assist 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 improvements, but in addition introduces quite a lot of behavior changes and the Rework API removing. Please ensure that to learn in regards to the required modifications earlier than you improve the AGP model in your initiatives.
Updates to App High quality Insights – Uncover, examine, and reproduce points reported by Crashlytics with App Quality Insights. You’ll be able to filter by app model, Crashlytics indicators, system kind, 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 corresponding to standing codes, and response headers and our bodies. The foundations decide what responses to intercept and the right way 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 Energetic field subsequent to every rule. Guidelines are robotically saved each time you modify them.
|Community Inspector Visitors Interception
Auto-connect to foreground course of in Structure Inspector – Structure Inspector now robotically connects to the foreground course of. You not should click on to connect it to your app.
IntelliJ Platform Replace – Android Studio Flamingo (2022.2.1) contains 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 here.
To recap, Android Studio Flamingo (2022.2.1) contains these new enhancements and options:
- Reside Edit (Compose) – Experimental
- Themed app icon Preview assist
- Dynamic shade Preview
- Jetpack Compose and Materials 3 Templates
- Construct Analyzer Activity Categorization
- One-click Automated Profileable Construct and Run
- Lint Assist for SDK Extensions
- Breaking modifications in Android Gradle Plugin 8.0
- Updates to App High quality Insights
- Community Inspector Visitors Interception
- Auto-connect to foreground course of in Structure Inspector
- IntelliJ Platform 2022.2 Replace
Obtain Studio In the present day!
Now could be the time to download Android Studio Flamingo (2022.2.1) to include the brand new options into your workflow. As at all times, we admire any suggestions on belongings you like and points or options you wish to see. For those who discover a bug or situation, please file an issue and in addition try known issues. Bear in mind to additionally observe us on Twitter, Medium, or YouTube for extra Android growth updates!