The Google I/O agenda is now accessible, and you’ll register to discover periods on AI, Android, Net, and Cloud, going down Might 20–21. The Google Keynote might be on Might twentieth at 10:00 AM PT, with the Developer Keynote at 1:30 PM PT. You possibly can be a part of on-line for livestreams Might 20–21, with on-demand periods and codelabs on Might 22. Periods will cowl AI developments utilizing Gemini fashions, constructing apps for a number of gadgets utilizing Google AI, and new options for internet growth.
Jetpack Compose 1.8 is out with new options, API updates, and bug fixes. You possibly can improve your Compose BOM model to 2025.04.01 to make use of the brand new launch.
Listed here are among the key updates:
- Now you can combine
Autofill
performance into your Compose purposes. - The brand new
autoSize
parameter lets the textual content dimension adapt to the container dimension - The
onLayoutRectChanged
modifier solves many use circumstances that the prevailingonGloballyPositioned
modifier does; nonetheless, it does so with a lot much less overhead. LookaheadScope
is steady and consists of quite a few efficiency and stability enhancements, and features a new modifier,animateBounds
Take a look at the publish to be taught every thing new in Jetpack Compose 1.8.
Android 16 Beta 4 is out, marking the ultimate scheduled replace and platform stability. The developer APIs and app-facing behaviors are finalized.
Apps concentrating on Android 16 can now be made accessible in Google Play. This launch consists of the newest fixes and optimizations. Think about testing your apps in opposition to habits adjustments round JobScheduler
, broadcasts, ART, intents, 16KB web page dimension, accessibility, and Bluetooth.
Word that should you develop an SDK, library, instrument, or recreation engine, it’s much more vital to organize any essential updates now to forestall your downstream app and recreation builders from being blocked by compatibility points and permit them to focus on the newest SDK options.
Whereas the API and behaviors are last and we’re very near launch, we’d nonetheless such as you to report points on the suggestions web page. The sooner we get your suggestions, the higher probability we’ll be capable of deal with it on this or a future launch.
The Google Play Console has a redesigned app dashboard that centralizes quality-focused metrics, serving to you enhance app efficiency and consumer expertise. The dashboard teams metrics into 4 core developer targets:
- take a look at and launch
- monitor and enhance
- develop customers
- monetize with Play
A brand new notification middle helps you keep updated along with your account and apps. New metrics embody:
- pre-review checks for incorrect edge-to-edge rendering
- a low reminiscence kill metric
- extreme wake locks in Android vitals
To remain knowledgeable about all the newest Play Console enhancements and simply discover updates related to your workflow, discover our new What’s new in Play Console web page, the place you may filter options by the 4 developer targets.
The Android Builders weblog introduced new Android Vitals metrics aiming that will help you enhance app efficiency and battery life. The brand new metrics present fleet-wide visibility into efficiency and battery life, equipping you with the info wanted to diagnose and resolve efficiency bottlenecks. We simply launched the primary of those new metrics in beta: extreme wake locks. This metric immediately addresses one of the vital important frustrations for Android customers — extreme battery drain. By optimizing your app’s wake lock habits, you may considerably improve battery life and consumer satisfaction.
We launched the extreme wake lock metric documentation to supply clear steering on decoding the metrics. Please try this web page and supply suggestions along with your use case on this new metric. Your enter is invaluable in refining these metrics earlier than their normal availability.
Android Builders Weblog launches “Testing at Scale” sequence, that includes real-world testing methods and ideas from massive apps. This sequence enhances the brand new “Testing Methods” documentation and gives alternatives for builders to contribute their very own experiences. Take a look at the primary two elements posted under:
Partly 1 of the “Testing at Scale” sequence Ken Yee, Senior Engineer at Netflix, tells us concerning the challenges of testing a playback app at an enormous scale and the way they’ve advanced the testing technique.
Netflix’s Android app growth prioritizes complete testing, particularly on bodily gadgets as a result of huge machine assist. They’ve moved to native and are adopting Jetpack Compose. Their massive group makes use of unit assessments (Strikt, Turbine, Mockito, Hilt, Robolectric), screenshot assessments (Paparazzi, Espresso accessibility), and machine assessments (Espresso, UIAutomator). Minimizing flakiness (state, async code) is essential. They use a devoted machine lab and are exploring emulators, Roborazzi, and modular “demo apps” to enhance testing effectivity. The group has created a customized toolchain to isolate and notify engineers of flaky assessments. Characteristic builders personal all features of testing.
Partly 2 of the “Testing at Scale” sequence Ryan Harter, Employees Engineer at Dropbox, shares how the form of Dropbox’s testing pyramid modified over time, and what instruments they use to get well timed suggestions.
Dropbox’s Android app growth group makes use of a multi-faceted testing method, emphasizing unit assessments with instruments like JUnit and Paparazzi for screenshot testing. They’re reinvesting in end-to-end assessments, leveraging their very own Dropshots library for full instrumentation testing and are experimenting with Compose Preview Screenshot Testing. In addition they combine guide testing with web-based instruments and third-party providers for situations tough to automate. They’re increasing Dropshots to assist a number of machine configurations.
Key Highlights for Compose Builders:
Now we have a bunch of recent Compose APIs in alpha:
Compose Animation Model 1.9.0-alpha01
TabRow
andScrollableTabRow
have been deprecated in favor of Main and Secondary variants of every that are extra performant and correct to spec.- We added
LocalResources
composition native to question Assets. CallingLocalResources.present
will recompose when the configuration adjustments, so calls to APIs corresponding tostringResource()
will return up to date values.
Compose Basis Model 1.9.0-alpha01
- Breaking change:
clickable
,combinedClickable
,selectable
,toggleable
, andtriStateToggleable
overloads with out an Indication parameter now solely assistIndicationNodeFactory
cases offered utilizingLocalIndication
. This alteration will apply whenever you recompile your usages of those modifiers utilizing this model of Compose and is required to allow improved efficiency, and permit Composable capabilities utilizing these modifiers to skip throughout recomposition.
Compose Materials Model 1.9.0-alpha01
- Textual content discipline ornament field APIs are not experimental
runWithTimingDisabled
is deprecated in favor ofrunWithMeasurementDisabled
, which extra clearly describes the habits — all metrics are paused.
Compose Runtime Model 1.9.0-alpha01
currentCompositeKeyHash
is deprecated. UsecurrentCompositeKeyHashCode
as a substitute.@Secure
,@Immutable
, and@StableMarker
have been moved to runtime-annotation (in a appropriate method). Now you can depend upon runtime-annotation if you wish to use these annotations from libraries that don’t depend upon compose.@RememberInComposition
was added — that is an annotation that may mark constructors, capabilities, and property getters, to point that they need to not be referred to as immediately inside composition, with out being remembered.
Compose UI Model 1.9.0-alpha01
androidx.compose.ui.LocalSavedStateRegistryOwner
is deprecated in favor ofandroidx.savedstate.compose.LocalSavedStateRegistryOwner.
Modifier.keepScreenOn
was added to set the show to stay awake whereas current
CustomView Model 1.2.0
, CustomView-Poolingcontainer Model 1.1.0
, Leanback Leanback-Choice, Model 1.2.0
, Leanback-Grid Model 1.0.0
, Leanback-Paging Leanback-Tab Model 1.1.0
, and Print Model 1.1.0
are all launched in steady.
That’s it for this version, with Google IO program lineup, Jetpack Compose 1.8, Play Console insights Android Vitals Metrics, Testing at Scale weblog sequence, and the newest in AndroidX!
Test again quickly to your subsequent replace from the Android developer universe!