Ten years after its preliminary launch in 2013, Android Studio stays the IDE to go for Android improvement. Its newest launch introduces quite a few modifications in distinct areas, together with IDE enhancements, coding productiveness, and construct system enhancements.
Android Studio Giraffe sports activities a brand new opt-in IDE feel and look geared toward lowering visible complexity. It strives to simplify entry to probably the most generally used options whereas making extra complicated performance simply accessible when wanted however much less distinguished in regular use. As well as, it offers a brand new theme that makes the IDE visible look extra trendy:
With the Giraffe launch, we’ve began adopting the brand new UI, with a number of Android Studio particular modifications, comparable to optimizing the default principal toolbar and gear home windows configurations for Android and refreshing our iconography within the model.
The brand new IDE additionally contains an up to date Gadget Explorer, which permits inspecting information and processes of any linked machine, together with the potential of copying or deleting information, killing processes or attaching the debugger to a working course of.
On the entrance of code productiveness, Android Studio Giraffe affords the potential of previewing UI modifications in composables with out re-deploying the app to the simulator or bodily machine. This function will be enabled through Settings / Editor / Dwell Edit and requires the Android Gradle Plugin (AGP) 8.1 or larger and Jetpack Compose Runtime 1.3.0 or larger.
Associated to preview services, Compose animation preview has received help for quite a few extra Compose APIs, together with animate*AsState, CrossFade, rememberInfiniteTransition, and AnimatedContent. Animations will be performed, paused, scrubbed, and so forth.
A closing assist to code productiveness comes from the brand new Android SDK Improve Assistant.
The brand new Android SDK improve assistant enables you to see the steps required to improve the targetSdkVersion, or the API degree that your app targets, instantly within the IDE.
The assistant will present all data associated to the improve possibility you choose, so you will not must browse that data individually and is ready to spotlight the key breaking modifications for every migration step.
Talking of the construct system, now you can use Kotlin DSL in Gradle construct scripts and leverage its compile-time checking in addition to consolidate your whole undertaking code beneath one single language.
Moreover, we’ve additionally added experimental help for TOML-based Gradle Model Catalogs, a function that permits you to handle dependencies in a single central location and share dependencies throughout modules or initiatives.
As a closing word, Android Studio Giraffe can present dependency obtain information whereas Gradle is syncing. This can mean you can detect inefficiencies in your repository configuration.
There’s way more to Android Studio Giraffe than what will be lined right here. If within the full element don’t miss the official announcement.