Posted by Sandhya Mohan, Product Supervisor, Android Studio
Right now, we’re thrilled to announce the steady launch of Android Studio Koala Characteristic Drop (2024.1.2)!🐨
Earlier this 12 months, we introduced that each Android Studio animal model could have two releases: a platform launch and a characteristic drop launch. These extra frequent updates get vital IntelliJ updates to you quicker, whereas we deal with high quality and polish for Android-specific options. The Koala platform launch was launched in June. Right now, we’ll stroll by way of the characteristic drop launch.
Get entry to cutting-edge options like new units in gadget streaming, Compose previews for Look widgets, USB cable velocity detection, help for Android 15 within the Android SDK Improve Assistant, and far more. All of those new options are designed to speed up your Android app growth workflow in constructing next-generation and high-quality apps.
Learn on to study extra about all of the updates, high quality enhancements, and new options throughout your key workflows in Android Studio Koala Characteristic Drop, and obtain the most recent steady model at this time to strive them out!
Develop
Android Machine Streaming: extra units and improved sign-up
Android Machine Streaming now contains the next units, along with the portfolio of 20+ gadget fashions already out there:
Moreover, if you happen to’re new to Firebase, Android Studio mechanically creates and units up a no-cost Firebase challenge for you whenever you sign-in to Android Studio to make use of Machine Streaming. Consequently, you will get to streaming the gadget you want a lot sooner. Study extra about Android Machine Streaming quotas, together with promotional quota for the Firebase Blaze plan tasks out there for a restricted time.
As we introduced at Google I/O 2024, we’re additional increasing the collection of units out there by working with companions, reminiscent of Samsung, Xiaomi, and OnePlus, to mean you can hook up with units hosted of their gadget labs. To study extra and enroll within the upcoming Early Entry Preview, see the official weblog submit.
Goal Android 15 utilizing Android SDK Improve Assistant
The Android SDK Improve Assistant supplies a step-by-step wizard that will help you improve your targetSdkVersion. It additionally pulls documentation straight into Android Studio, saving you effort and time. Android Studio Koala Characteristic Drop provides help for upgrading tasks to Android 15 (API Degree 35).
Up to date sign-in movement to Google providers
It is now simpler to sign up to a number of Google providers with one authentication step. Whether or not you employ Gemini in Android Studio, Firebase for Android Machine Streaming, Crashlytics in App High quality Insights, Google Play for Android Vitals experiences, or some mixture of those providers, the brand new sign-in movement makes it simpler to rise up and working. With granular permissions scoping, you will all the time be answerable for which providers have entry to your account. To get began, click on the profile avatar on the highest proper nook and sign-in along with your developer account.
Put on OS Tile Preview Panel
Now you can view snapshots of your Put on OS app’s tiles by together with model 1.4 of the Jetpack Tiles library. This preview panel is especially helpful in case your tile’s look modifications primarily based on sure circumstances, reminiscent of content material that is determined by the gadget’s show measurement, or a sports activities occasion reaching halftime.
Compose Look widget previews
Android Studio Koala Characteristic Drop makes it straightforward to preview your Jetpack Compose Look widgets straight throughout the IDE. You may even use multi-previews to preview at normal widget sizes and their designed widget breakpoints (pattern code). Catch potential UI points and fine-tune your widget’s look early within the growth course of or whereas debugging any UI points. Study extra.
Reside Edit (Compose)
Reside Edit is now enabled in handbook mode by default. It has elevated stability and extra sturdy change detection, together with help for import statements. Notice that beginning with Android Studio Koala Characteristic Drop, the default shortcut to push your modifications in handbook mode has been up to date to Management+’ (Command+’ on macOS). You may customise the shortcut on the Keymap settings web page.
Debug
USB Cable Velocity Detection
Android Studio now detects when it is doable to attach your Android gadget with a sooner USB cable and suggests an improve that maximizes your gadget capabilities. Utilizing an applicable USB cable optimizes app set up time and minimizes latency when utilizing instruments such because the Android Studio debugger. USB cable velocity detection is at the moment out there for macOS and Linux. Study extra.
Whereas most available USB cables are nonetheless the older USB 2.0 normal, the vast majority of trendy units help the considerably sooner USB 3.0. Upgrading to a USB 3.0 cable can probably enhance your information switch speeds as much as 10x.
Machine UI Shortcuts
That can assist you construct and debug your UI, we have launched Machine UI shortcuts button motion within the Working Units instrument window in Android Studio. Use the shortcuts to view the impact of frequent UI settings reminiscent of darkish theme, font measurement, display screen measurement, app language and TalkBack. You should utilize the shortcuts with emulators, mirrored bodily units, and units streamed from Firebase Check Lab. Machine UI shortcuts can be found for units working API stage 33 or larger. Study extra.
Pixel 8a in Emulator
The Android Emulator (35.1+) now helps the Pixel 8a within the steady channel, enabling you to check your apps on extra Pixel units while not having a bodily gadget. Discover the brand new Pixel 8a within the telephone class whenever you create a brand new digital gadget. Moreover, you could find Pixel 9 units within the canary launch channel of Android Studio.
Optimize
Sooner and improved Profiler with a task-centric method
Well-liked efficiency optimization duties like capturing a system hint with profileable apps now begin as much as 60% sooner*. The Profiler’s task-centric redesign additionally makes it simpler to start out the duty you are involved in, whether or not it is profiling your app’s CPU, reminiscence, or energy utilization. For instance, you can begin a system hint activity to profile and enhance your app’s startup time proper from the UI as quickly as you open the Profiler.
High quality enhancements
Past new options, we additionally proceed to enhance the general high quality and stability of Android Studio. In actual fact, the Android Studio crew addressed over 520 bugs throughout the Koala Characteristic Drop growth cycle.
IntelliJ platform replace
Android Studio Koala Characteristic Drop (2024.1.2) contains the IntelliJ 2024.1 platform launch, which has many new options reminiscent of complete help for the most recent Java** 22 options, an improved terminal, and sticky strains within the editor to simplify working with massive recordsdata and exploring new codebases.
- The improved terminal includes a recent new look, with instructions separated into distinct blocks, together with an expanded set of options, reminiscent of clean navigation between blocks, command completion, and easy accessibility to the command historical past. Study extra.
- Sticky strains within the editor retains key structural components, just like the beginnings of courses or strategies, pinned to the highest of the editor as you scroll and supplies an choice to promptly navigate by way of the code by clicking on a pinned line. Study extra.
- Primary IDE functionalities like code highlighting and completion now work for Java and Kotlin throughout challenge indexing, which ought to improve your startup expertise.
See the total launch notes right here.
Abstract
To recap, Android Studio Koala Characteristic Drop contains the next enhancements and options:
Develop
- Android Machine Streaming: extra units and improved sign-up
- Goal Android 15 utilizing Android SDK Improve Assistant
- Up to date sign-in movement to Google providers
- Put on OS Tile Preview Panel
- Compose Look widget previews
Debug
- USB Cable Velocity Detection
- Machine UI Settings Picker
Optimize
- New Job UX for Profilers
High quality Enhancements
IntelliJ Platform Replace
- Sticky strains within the editor to simplify working with massive codebases
- Enhanced startup expertise
Getting Began
Prepared for next-level Android growth? Obtain Android Studio Koala Characteristic Drop and unlock these cutting-edge options at this time! As all the time, your suggestions is vital to us – verify identified points, report bugs, counsel enhancements, and be a part of our vibrant group on LinkedIn, Medium, YouTube, or X. Let’s construct the way forward for Android apps collectively!
**Java is a trademark or registered trademark of Oracle and/or its associates.